diff --git a/app/util/utils.py b/app/util/utils.py index c559a32..0c3b302 100644 --- a/app/util/utils.py +++ b/app/util/utils.py @@ -127,7 +127,8 @@ def test_exception(): def exception_event_loop(): if AppExceptionHook.event.is_set(): logging.warning('Reporting App exception to front end') - eel.app_exception(AppExceptionHook.gui_msg) + if hasattr(eel, 'app_exception'): + eel.app_exception(AppExceptionHook.gui_msg) AppExceptionHook.event.clear()