diff --git a/system/manager/manager.py b/system/manager/manager.py index 997653f6cd89f3..820240dbde373a 100755 --- a/system/manager/manager.py +++ b/system/manager/manager.py @@ -24,7 +24,6 @@ from openpilot.selfdrive.frogpilot.assets.model_manager import DEFAULT_MODEL, DEFAULT_MODEL_NAME from openpilot.selfdrive.frogpilot.frogpilot_functions import convert_params, frogpilot_boot_functions, setup_frogpilot, uninstall_frogpilot -from openpilot.selfdrive.frogpilot.frogpilot_utilities import update_frogpilot_toggles from openpilot.selfdrive.frogpilot.frogpilot_variables import frogpilot_default_params, get_frogpilot_toggles @@ -175,7 +174,8 @@ def manager_thread() -> None: started_prev = False # FrogPilot variables - classic_model = False + frogpilot_toggles = get_frogpilot_toggles() + classic_model = getattr(frogpilot_toggles, 'classic_model', False) error_log = os.path.join(sentry.CRASHES_DIR, 'error.txt') if os.path.isfile(error_log): @@ -193,7 +193,6 @@ def manager_thread() -> None: os.remove(error_log) # FrogPilot variables - frogpilot_toggles = get_frogpilot_toggles() classic_model = frogpilot_toggles.classic_model elif not started and started_prev: