mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-21 04:13:34 +08:00
Hotfix: Make firmware generator and uploader python scripts Python 2 AND Python 3 compatible.
This commit is contained in:
+1
-1
@@ -107,4 +107,4 @@ if args.image != None:
|
||||
desc['image_size'] = len(bytes)
|
||||
desc['image'] = base64.b64encode(zlib.compress(bytes,9))
|
||||
|
||||
print json.dumps(desc, indent=4)
|
||||
print(json.dumps(desc, indent=4))
|
||||
|
||||
Reference in New Issue
Block a user