Fixed parenthesis issue
This commit is contained in:
+2
-2
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user