Removed debug prints

pull/3/head
Davide Bongiovanni 6 years ago
parent 50e4903a30
commit 4541fab34e

@ -218,7 +218,6 @@ def alter(partID):
try: try:
datasheet_filename = request.form['datasheet-url'] datasheet_filename = request.form['datasheet-url']
except: except:
print('No docs provided')
datasheet_filename = None datasheet_filename = None
r = db_engine.execute(s, partno=request.form['partno'], r = db_engine.execute(s, partno=request.form['partno'],
description=request.form['description'], description=request.form['description'],
@ -250,7 +249,6 @@ def alter(partID):
try: try:
datasheet_filename = request.form['datasheet-url'] datasheet_filename = request.form['datasheet-url']
except: except:
print('No docs provided')
datasheet_filename = l[0]['datasheet'] datasheet_filename = l[0]['datasheet']
s += 'where id=:id returning id;' s += 'where id=:id returning id;'
s = text(s) s = text(s)

Loading…
Cancel
Save