Commit 6eb0583d authored by Robin Sonnabend's avatar Robin Sonnabend
Browse files

Fix wrong used variable in reminder task

parent 8d605064
...@@ -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()
Supports Markdown
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