Skip to content

Commit

Permalink
using wrong parameter for non-defualt qgc
Browse files Browse the repository at this point in the history
  • Loading branch information
afwilkin committed Nov 2, 2023
1 parent b23da9b commit 250e003
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/tornado_handlers/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,10 +209,10 @@ def kml_colors(flight_mode):
self.write(delimiter)
self.write(param_key)
self.write(delimiter)
self.write(str(ulog.initial_parameters[param_key]))
self.write(str(param_value))

#if the value is an int write a 6, if not write a 9
if(type(ulog.initial_parameters[param_key]) == int):
if(type(param_value) == int):
self.write(delimiter)
self.write("6")
else:
Expand Down

0 comments on commit 250e003

Please sign in to comment.