Skip to content
Snippets Groups Projects
Commit 833be15c authored by Michiel Cottaar's avatar Michiel Cottaar
Browse files

BUG: open output pickle file as writable

parent c1a2c2e5
No related branches found
No related tags found
No related merge requests found
...@@ -375,7 +375,7 @@ else: ...@@ -375,7 +375,7 @@ else:
res = func(*args, **kwargs) res = func(*args, **kwargs)
if res is not None: if res is not None:
with open(__file__ + '_out.pickle') as f: with open(__file__ + '_out.pickle', 'w') as f:
pickle.dump(f, res) pickle.dump(f, res)
""" """
......
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