Commit fdf1600d authored by Robin Sonnabend's avatar Robin Sonnabend
Browse files

Fix add_internal_filename call

parent e652c814
...@@ -771,7 +771,7 @@ def upload_new_protocol_by_file(): ...@@ -771,7 +771,7 @@ def upload_new_protocol_by_file():
db.session.add(document) db.session.add(document)
db.session.commit() db.session.commit()
internal_filename = get_internal_filename( internal_filename = get_internal_filename(,, filename) protocol,, filename)
document.filename = internal_filename document.filename = internal_filename, internal_filename)), internal_filename))
db.session.commit() db.session.commit()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment