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

Fix the other localtop creation bug location

parent 593dee5c
......@@ -761,7 +761,7 @@ def upload_new_protocol_by_file():
date=datetime.now().date(), done=True)
db.session.add(protocol)
db.session.commit()
for local_top in protocol.create_localtops:
for local_top in protocol.create_localtops():
db.session.add(local_top)
db.session.commit()
document = Document(
......
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