pull/3/head
assar 8 years ago
parent d8585207a4
commit 59a174dc6f

@ -89,7 +89,7 @@ def alter(partID):
datasheet_file.save('/srv/datasheets/' + filename) datasheet_file.save('/srv/datasheets/' + filename)
# TODO: Remove old datasheet # TODO: Remove old datasheet
else: else:
datasheet_filename = l['datasheet'] datasheet_filename = l[0]['datasheet']
s += 'where id=:id;' s += 'where id=:id;'
s = text(s) s = text(s)

Loading…
Cancel
Save