Skip to content
Snippets Groups Projects
Commit 86c13bd6 authored by Gottfried Gaisbauer's avatar Gottfried Gaisbauer
Browse files

Wrong class used when recreating the database

parent 3afb3740
No related branches found
No related tags found
No related merge requests found
...@@ -115,7 +115,7 @@ class AuraScheduler(ExceptionLogger, threading.Thread): ...@@ -115,7 +115,7 @@ class AuraScheduler(ExceptionLogger, threading.Thread):
ScheduleEntry.select_all() ScheduleEntry.select_all()
except sqlalchemy.exc.ProgrammingError as e: except sqlalchemy.exc.ProgrammingError as e:
if e.__dict__["code"] == "f405": # error for no such table if e.__dict__["code"] == "f405": # error for no such table
AuraDatabaseModel.recreate_db() ScheduleEntry.recreate_db()
else: else:
raise raise
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment