From 6eb0583d347be9e0c58bb7efeea85940467e41a7 Mon Sep 17 00:00:00 2001 From: Robin Sonnabend <robin@fsmpi.rwth-aachen.de> Date: Thu, 1 Mar 2018 14:19:01 +0100 Subject: [PATCH] Fix wrong used variable in reminder task --- tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks.py b/tasks.py index 28a9770..3586e6a 100644 --- a/tasks.py +++ b/tasks.py @@ -778,7 +778,7 @@ def push_tops_to_calendar_async(protocol_id): client.set_event_at(begin=protocol.get_datetime(), name=protocol.protocoltype.short_name, description=description) except CalendarException as exc: - error = Protocol.create_error("Calendar", + error = protocol.create_error("Calendar", "Pushing TOPs to Calendar failed", str(exc)) db.session.add(error) db.session.commit() -- GitLab