mirror of
https://github.com/infiniteCable2/openpilot.git
synced 2026-08-05 00:05:57 +08:00
python 3 issue
old-commit-hash: c7bc8ee00fe4b1eaa0f7c629a378fbcc64b39a77
This commit is contained in:
@@ -10,8 +10,8 @@ from selfdrive.car import gen_empty_fingerprint
|
||||
|
||||
def get_startup_alert(car_recognized, controller_available):
|
||||
alert = 'startup'
|
||||
if Params().get("GitRemote") in ['git@github.com:commaai/openpilot.git', 'https://github.com/commaai/openpilot.git']:
|
||||
if Params().get("GitBranch") not in ['devel', 'release2-staging', 'dashcam-staging', 'release2', 'dashcam']:
|
||||
if Params().get("GitRemote").decode('utf-8') in ['git@github.com:commaai/openpilot.git', 'https://github.com/commaai/openpilot.git']:
|
||||
if Params().get("GitBranch").decode('utf-8') not in ['devel', 'release2-staging', 'dashcam-staging', 'release2', 'dashcam']:
|
||||
alert = 'startupMaster'
|
||||
if not car_recognized:
|
||||
alert = 'startupNoCar'
|
||||
|
||||
Reference in New Issue
Block a user