Commit 486a2a87 authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Fixed missing write mode.


Signed-off-by: Daniel Scheffler's avatarDaniel Scheffler <danschef@gfz-potsdam.de>
parent 38772e09
Pipeline #7860 passed with stages
in 60 minutes and 18 seconds
......@@ -169,7 +169,7 @@ class EnPT_Controller(object):
if not os.path.isdir(self.cfg.output_dir):
raise NotADirectoryError(self.cfg.output_dir)
with open(os.path.join(self.cfg.output_dir, 'received_args_kwargs.pkl')) as outF:
with open(os.path.join(self.cfg.output_dir, 'received_args_kwargs.pkl'), 'wb') as outF:
pickle.dump(
dict(
json_config=self.cfg.json_config,
......
Supports Markdown
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