mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-19 06:33:57 +08:00
* fix params paths
* Qcom & qcom2
* This env variable is not used anywhere
* params path in only one place
* fix other PARAMS_PATH references
* absolute path is probably better
old-commit-hash: 3dd9448981
9 lines
215 B
Python
9 lines
215 B
Python
import os
|
|
BASEDIR = os.path.abspath(os.path.join(os.path.dirname(os.path.realpath(__file__)), "../"))
|
|
|
|
from common.hardware import PC
|
|
if PC:
|
|
PERSIST = os.path.join(BASEDIR, "persist")
|
|
else:
|
|
PERSIST = "/persist"
|