Skip to content
Snippets Groups Projects
Commit 6eb0583d authored by Robin Sonnabend's avatar Robin Sonnabend
Browse files

Fix wrong used variable in reminder task

parent 8d605064
No related branches found
No related tags found
No related merge requests found
...@@ -778,7 +778,7 @@ def push_tops_to_calendar_async(protocol_id): ...@@ -778,7 +778,7 @@ def push_tops_to_calendar_async(protocol_id):
client.set_event_at(begin=protocol.get_datetime(), client.set_event_at(begin=protocol.get_datetime(),
name=protocol.protocoltype.short_name, description=description) name=protocol.protocoltype.short_name, description=description)
except CalendarException as exc: except CalendarException as exc:
error = Protocol.create_error("Calendar", error = protocol.create_error("Calendar",
"Pushing TOPs to Calendar failed", str(exc)) "Pushing TOPs to Calendar failed", str(exc))
db.session.add(error) db.session.add(error)
db.session.commit() db.session.commit()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment