Skip to content

Commit 9c37e14

Browse files
committed
tools: mavlflightview.py: remove incorrect use of global keyword
not assigned to, global is incorrect
1 parent 0ab29b8 commit 9c37e14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MAVProxy/tools/mavflightview.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ def display_waypoints(wploader, map):
209209

210210

211211
def colour_for_point(mlog, point, instance, options):
212-
global colour_expression_exceptions, colour_source_max, colour_source_min, colour_over_255
212+
global colour_source_max, colour_source_min, colour_over_255
213213
'''indicate a colour to be used to plot point'''
214214
source = getattr(options, "colour_source", "flightmode")
215215
if source == "flightmode":

0 commit comments

Comments
 (0)