From 70401139f9115890a3f2c33908713330903be4fb Mon Sep 17 00:00:00 2001 From: Davide Bongiovanni Date: Tue, 13 Nov 2018 19:31:43 +0100 Subject: [PATCH] Fixed parenthesis issue --- parts/server.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/parts/server.py b/parts/server.py index 488221b..41e44c3 100644 --- a/parts/server.py +++ b/parts/server.py @@ -233,8 +233,8 @@ def alter(partID): description=request.form['description'], datasheet=datasheet_filename, location_id=request.form['location_id'], - notes=request.form['notes']) - user_id=session['uid'] + notes=request.form['notes'], + user_id=session['uid']) else: # Modify entry r = db_engine.execute(text('select * from parts where id=:id;'), id=partID)