diff options
author | Frederick Muriuki Muriithi | 2023-11-15 09:09:34 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2023-11-15 09:09:34 +0300 |
commit | ebf61247a66a2ad9d8df5bfbd768855beddce9da (patch) | |
tree | 262205523882ebe5678d81e4f627c6745b45ad0a | |
parent | 8191ef600eb54d83b88c4d5cd2f46c6caf568e5e (diff) | |
download | gn-uploader-ebf61247a66a2ad9d8df5bfbd768855beddce9da.tar.gz |
Provide default `AuthorisedUsers` value.
-rw-r--r-- | qc_app/dbinsert.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qc_app/dbinsert.py b/qc_app/dbinsert.py index df9a9fd..4711262 100644 --- a/qc_app/dbinsert.py +++ b/qc_app/dbinsert.py @@ -291,14 +291,14 @@ def create_dataset(): form["datasetfullname"], form["datasetshortname"], datetime.now().date().strftime("%Y-%m-%d"), form["datasetpublic"], form["datasetconfidentiality"], - form["datasetdatascale"]) + "williamslab", form["datasetdatascale"]) query = ( "INSERT INTO ProbeSetFreeze(" "Id, ProbeFreezeId, AvgID, Name, Name2, FullName, " "ShortName, CreateTime, OrderList, public, " "confidentiality, AuthorisedUsers, DataScale) " "VALUES" - "(%s, %s, %s, %s, %s, %s, %s, %s, NULL, %s, %s, NULL, %s)") + "(%s, %s, %s, %s, %s, %s, %s, %s, NULL, %s, %s, %s, %s)") cursor.execute(query, values) return render_template( "continue_from_create_dataset.html", |