Correct print syntax

This adds python3 support
This commit is contained in:
Miles Edgeworth 2020-06-17 22:19:54 +00:00 committed by GitHub
parent 06781579c5
commit 952e8becdf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,7 +23,7 @@ def split_binary(data):
def main(argc, argv): def main(argc, argv):
if argc != 3: if argc != 3:
print 'Usage: %s in outdir' % argv[0] print('Usage: %s in outdir' % argv[0])
return 1 return 1
with open(argv[1], 'rb') as f: with open(argv[1], 'rb') as f:
data = f.read() data = f.read()