diff options
Diffstat (limited to 'qc_app')
-rw-r--r-- | qc_app/dbinsert.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qc_app/dbinsert.py b/qc_app/dbinsert.py index 589ac75..32043a7 100644 --- a/qc_app/dbinsert.py +++ b/qc_app/dbinsert.py @@ -281,7 +281,7 @@ def create_dataset(): cursor.execute("SELECT MAX(Id) AS last_id FROM ProbeSetFreeze") new_datasetid = cursor.fetchone()["last_id"] + 1 values = ( - new_datasetid, new_datasetid, form["avgid"], + new_datasetid, form["studyid"], form["avgid"], form.get("datasetname",""), form["datasetname2"], form["datasetfullname"], form["datasetshortname"], datetime.now().date().strftime("%Y-%m-%d"), |