easier code

This commit is contained in:
SowinskiBraeden committed 2022-11-08 12:20:17 -08:00
1 parent 9678ca7f2a
commit 7a6bf3c5e4
2 files changed
+2 -9

No files matched your search

+2 -2
View File
@@ -71,7 +71,7 @@ def start(
if err is not None:
eel.post_data(f'An error has occured while generating the timetable: {err.Title}')
return err.toDict()
return err.__dict__
eel.post_data('Gathering latest data...')()
# Get updated students
@@ -84,6 +84,6 @@ def start(
# TODO: log master_timetable
return err.toDict() if err is not None else None
return err.__dict__ if err is not None else None
eel.start('index.html', size=(800, 1000))