Skip to content

Commit

Permalink
mark unuploaded
Browse files Browse the repository at this point in the history
  • Loading branch information
Comma Device committed Apr 21, 2020
1 parent e23f1fc commit cead4c6
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions selfdrive/loggerd/tools/mark_unuploaded.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/usr/bin/env python3
import sys
from common.xattr import removexattr
from selfdrive.loggerd.uploader import UPLOAD_ATTR_NAME

for fn in sys.argv[1:]:
print("unmarking %s" % fn)
removexattr(fn, UPLOAD_ATTR_NAME)

0 comments on commit cead4c6

Please sign in to comment.