From ebf61247a66a2ad9d8df5bfbd768855beddce9da Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Wed, 15 Nov 2023 09:09:34 +0300 Subject: Provide default `AuthorisedUsers` value. --- qc_app/dbinsert.py | 4 ++-- 1 file 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", -- cgit v1.2.3