Skip to content

Commit 5fb7b9d

Browse files
committed
one more unicode issue
1 parent bfb79e6 commit 5fb7b9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wes_service/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def collect_attachments(self, run_id=None):
6767
content = v.read()
6868
body[k] = json.loads(content)
6969
else:
70-
body[k] = v.read()
70+
body[k] = v.read().decode()
7171

7272
if ":" not in body["workflow_url"]:
7373
body["workflow_url"] = "file://%s" % os.path.join(tempdir, secure_filename(body["workflow_url"]))

0 commit comments

Comments
 (0)