Hotfix: Make firmware generator and uploader python scripts Python 2 AND Python 3 compatible.

This commit is contained in:
Lorenz Meier
2013-03-18 15:11:02 +01:00
parent a03a2f9231
commit 3ea44e4a29
2 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -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))