mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-06-26 14:02:06 +08:00
16ec56398c
* add openpilot prefix to imports
* more
* more
* fix docs
* fix linter
* bump submodules
* fix patched tests
* update dynamic imports
* debug
* Revert "debug"
This reverts commit db5e13b9911cc74438bee123bc3430da6c31b24b.
* fix pm test
old-commit-hash: a9626f95b6
9 lines
308 B
Python
9 lines
308 B
Python
import os
|
|
from openpilot.system.loggerd.uploader import UPLOAD_ATTR_NAME, UPLOAD_ATTR_VALUE
|
|
|
|
from openpilot.system.loggerd.config import ROOT
|
|
for folder in os.walk(ROOT):
|
|
for file1 in folder[2]:
|
|
full_path = os.path.join(folder[0], file1)
|
|
os.setxattr(full_path, UPLOAD_ATTR_NAME, UPLOAD_ATTR_VALUE)
|