* 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: 3dd944898183be0ecf985f389d462e53c3feb8e5
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"
|