aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Tools/px_romfs_pruner.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/px_romfs_pruner.py b/Tools/px_romfs_pruner.py
index f6ed0a8e4..ceef9f9be 100644
--- a/Tools/px_romfs_pruner.py
+++ b/Tools/px_romfs_pruner.py
@@ -67,7 +67,7 @@ def main():
for line in f:
# handle mixer files differently than startup files
- if ".mix" in file_path:
+ if file_path.endswith(".mix"):
if line.startswith(("Z:", "M:", "R: ", "O:", "S:")):
pruned_content += line
else: