Skip to content
Snippets Groups Projects
Commit 6e26d1b8 authored by Julian Oes's avatar Julian Oes Committed by Lorenz Meier
Browse files

px_romfs_pruner.py: ignore files starting with .

parent 9169a585
No related branches found
No related tags found
No related merge requests found
......@@ -57,7 +57,8 @@ def main():
for (root, dirs, files) in os.walk(args.folder):
for file in files:
# only prune text files
if ".zip" in file or ".bin" in file or ".swp" in file or ".data" in file or ".DS_Store" in file:
if ".zip" in file or ".bin" in file or ".swp" in file or ".data" in file or \
".DS_Store" in file or file.startswith("."):
continue
file_path = os.path.join(root, file)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment