From e652c814c4357a3e3954ffb8b9aa3880c2531409 Mon Sep 17 00:00:00 2001
From: Robin Sonnabend <robin@fsmpi.rwth-aachen.de>
Date: Tue, 6 Mar 2018 14:44:34 +0100
Subject: [PATCH] Fix the other localtop creation bug location

---
 server.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server.py b/server.py
index 616a6b7..e2f368d 100755
--- a/server.py
+++ b/server.py
@@ -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(
-- 
GitLab