aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorBonfaceKilz2021-10-27 15:04:57 +0300
committerBonfaceKilz2021-10-28 08:34:35 +0300
commit178aae274982b8d7bc7720310e53c60dc35b9701 (patch)
treef5c6864685159e0e67f2423d3c33ca0f77c5b10d /wqflask
parentb0946c079d0d4b953285c3f5781482a3d7a9f87d (diff)
downloadgenenetwork2-178aae274982b8d7bc7720310e53c60dc35b9701.tar.gz
Remove decoding when parsing author variable
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/metadata_edits.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/metadata_edits.py b/wqflask/wqflask/metadata_edits.py
index ef9dc127..b03c999e 100644
--- a/wqflask/wqflask/metadata_edits.py
+++ b/wqflask/wqflask/metadata_edits.py
@@ -332,7 +332,7 @@ def update_probeset(name: str):
insert(conn,
table="metadata_audit",
data=MetadataAudit(dataset_id=data_.get("id"),
- editor=author.decode("utf-8"),
+ editor=author,
json_data=json.dumps(diff_data)))
return redirect(f"/datasets/traits/{name}"
f"?resource-id={request.args.get('resource-id')}")