diff --git a/server.py b/server.py index 606d92ef18291665edeb10236bb2e14416208a85..616a6b711a7cf65d10f16326c53dbc3feceaa3d9 100755 --- a/server.py +++ b/server.py @@ -725,7 +725,7 @@ def upload_new_protocol(): protocol = Protocol(protocoltype_id=protocoltype.id, source=source) 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() tasks.parse_protocol(protocol)