mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-19 12:23:53 +08:00
* use os module's xattr function
* fix that
* handle in helper
old-commit-hash: 81dacbedca
9 lines
191 B
Python
Executable File
9 lines
191 B
Python
Executable File
#!/usr/bin/env python3
|
|
import os
|
|
import sys
|
|
from selfdrive.loggerd.uploader import UPLOAD_ATTR_NAME
|
|
|
|
for fn in sys.argv[1:]:
|
|
print(f"unmarking {fn}")
|
|
os.removexattr(fn, UPLOAD_ATTR_NAME)
|