From 5e10d7ae40df79794e6f507dc87c6950c8b28b3b Mon Sep 17 00:00:00 2001 From: Michiel Visser Date: Thu, 28 Nov 2019 18:04:28 +0100 Subject: [PATCH] Fix DFU packer python script for python3 (fixes #10) --- keyboards/anne_pro/dfuse-pack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyboards/anne_pro/dfuse-pack.py b/keyboards/anne_pro/dfuse-pack.py index 199ac70f14..257ba4f57e 100755 --- a/keyboards/anne_pro/dfuse-pack.py +++ b/keyboards/anne_pro/dfuse-pack.py @@ -140,7 +140,7 @@ if __name__=="__main__": try: address = address & 0xFFFFFFFF except ValueError: - print "Address %s invalid." % address + print("Address %s invalid." % address) sys.exit(1) target.append({ 'address': address, 'data': ih.tobinstr(start=address, end=end-1)})