This commit is contained in:
Jason Wen
2025-01-05 08:30:28 -05:00
parent 485eef68da
commit 767f78bbcf

View File

@@ -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)