Skip to content
Snippets Groups Projects
Commit b4d5a770 authored by moritz's avatar moritz
Browse files

Moritz Huebner: Made writing the pickle file python3 compatible

parent 15a7b2d3
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -36,7 +36,7 @@ class Result(dict):
os.rename(file_name, file_name + '.old')
logging.info("Saving result to {}".format(file_name))
with open(file_name, 'w+') as f:
with open(file_name, 'wb+') as f:
pickle.dump(self, f)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment