Fixed parenthesis issue

master 1.1-rc
Davide Bongiovanni 6 years ago
parent 4429a2a4f6
commit 70401139f9

@ -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)

Loading…
Cancel
Save