diff options
author | BonfaceKilz | 2021-10-27 15:04:57 +0300 |
---|---|---|
committer | BonfaceKilz | 2021-10-28 08:34:35 +0300 |
commit | 178aae274982b8d7bc7720310e53c60dc35b9701 (patch) | |
tree | f5c6864685159e0e67f2423d3c33ca0f77c5b10d | |
parent | b0946c079d0d4b953285c3f5781482a3d7a9f87d (diff) | |
download | genenetwork2-178aae274982b8d7bc7720310e53c60dc35b9701.tar.gz |
Remove decoding when parsing author variable
-rw-r--r-- | wqflask/wqflask/metadata_edits.py | 2 |
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')}") |