mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-19 01:53:57 +08:00
* enable some more flake8 checks * some more quick ones * bump opendbc * e401 * e711 e712 * e115 e116 * e222 * e301 * remove that * e129 * e701 e702 * e125 e131 * e227 * e306 * e262 * W503 * e713 * e704 * e731 * bump opendbc * fix some e722
11 lines
304 B
Python
11 lines
304 B
Python
import os
|
|
BASEDIR = os.path.abspath(os.path.join(os.path.dirname(os.path.realpath(__file__)), "../"))
|
|
|
|
from common.android import ANDROID
|
|
if ANDROID:
|
|
PERSIST = "/persist"
|
|
PARAMS = "/data/params"
|
|
else:
|
|
PERSIST = os.path.join(BASEDIR, "persist")
|
|
PARAMS = os.path.join(BASEDIR, "persist", "params")
|