Browse Source

romfs pruner: fix filename check

sbg
Thomas Gubler 11 years ago
parent
commit
d5e463352d
  1. 2
      Tools/px_romfs_pruner.py

2
Tools/px_romfs_pruner.py

@ -57,7 +57,7 @@ def main():
for (root, dirs, files) in os.walk(args.folder): for (root, dirs, files) in os.walk(args.folder):
for file in files: for file in files:
# only prune text files # only prune text files
if ".zip" in file or ".bin" or ".swp" in file: if ".zip" in file or ".bin" in file or ".swp" in file:
continue continue
file_path = os.path.join(root, file) file_path = os.path.join(root, file)

Loading…
Cancel
Save