Skip to content

Commit

Permalink
November 1st, 2024 Update
Browse files Browse the repository at this point in the history
  • Loading branch information
FrogAi committed Nov 2, 2024
1 parent 75407c2 commit aabc8ab
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions system/manager/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down Expand Up @@ -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):
Expand All @@ -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:
Expand Down

0 comments on commit aabc8ab

Please sign in to comment.