mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-06-29 02:22:09 +08:00
fb1c3b0d5d
* use os module's xattr function * fix that * handle in helper old-commit-hash: 81dacbedcacaf9db43d19700e04e7361c0fbbbcc
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)
|