1 Commits
Author SHA1 Message Date
davide 70401139f9 Fixed parenthesis issue 2018-11-13 19:31:43 +01:00
+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)