We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c27106 commit 3f0db0fCopy full SHA for 3f0db0f
1 file changed
workflowmonit/workflowCollector.py
@@ -35,7 +35,7 @@ def save_json(json_obj, filename='tmp', gzipped=False):
35
if gzipped:
36
fn += '.gz'
37
with gzip.open(fn, 'wb') as f:
38
- f.write(msg)
+ f.write(msg.encode())
39
else:
40
with open(fn, 'w') as f:
41
f.write(msg)
0 commit comments