Commit 833be15c authored by Michiel Cottaar's avatar Michiel Cottaar
Browse files

BUG: open output pickle file as writable

parent c1a2c2e5
......@@ -375,7 +375,7 @@ else:
res = func(*args, **kwargs)
if res is not None:
with open(__file__ + '_out.pickle') as f:
with open(__file__ + '_out.pickle', 'w') as f:
pickle.dump(f, res)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment