Removed debug prints

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

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

Loading…
Cancel
Save