python3 fixes

This commit is contained in:
Thomas Gubler
2015-10-06 21:48:13 +02:00
parent a33568cd49
commit 2bbb1ad35f
3 changed files with 5 additions and 5 deletions

View File

@@ -77,7 +77,7 @@ def main():
# overwrite old scratch file
with open(file_path, "wb") as f:
f.write(pruned_content)
f.write(pruned_content.encode("ascii", errors='strict'))
if __name__ == '__main__':