mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-06-08 11:25:51 +08:00
try this
This commit is contained in:
@@ -2,6 +2,10 @@ import sys
|
||||
from subprocess import run
|
||||
|
||||
correct_path = "/data/openpilot/sunnypilot/tinygrad"
|
||||
incorrect_path = "/data/sunnypilot/tinygrad"
|
||||
|
||||
sys.path = [p for p in sys.path if p != incorrect_path]
|
||||
|
||||
if correct_path not in sys.path:
|
||||
sys.path.insert(0, correct_path)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user