Fixed parenthesis issue

This commit is contained in:
2018-11-13 19:31:43 +01:00
parent 4429a2a4f6
commit 70401139f9
+2 -2
View File
@@ -233,8 +233,8 @@ def alter(partID):
description=request.form['description'], description=request.form['description'],
datasheet=datasheet_filename, datasheet=datasheet_filename,
location_id=request.form['location_id'], location_id=request.form['location_id'],
notes=request.form['notes']) notes=request.form['notes'],
user_id=session['uid'] user_id=session['uid'])
else: else:
# Modify entry # Modify entry
r = db_engine.execute(text('select * from parts where id=:id;'), id=partID) r = db_engine.execute(text('select * from parts where id=:id;'), id=partID)