commit 08f4a34f06f4aee69ebbd95bb587e85d9b8725ba parent 4a49c5367859e414968fd9b64eb73bc97d62f9cc Author: Hunter Date: Wed, 11 Feb 2026 18:39:58 -0500 remove safety from scan.py Diffstat:
| M | scan.py | | | 7 | ------- |
1 file changed, 0 insertions(+), 7 deletions(-)
diff --git a/scan.py b/scan.py @@ -97,13 +97,6 @@ def scan_tracks(): print(f"Supported formats: {', '.join(SUPPORTED_EXTENSIONS)}") sys.exit(0) - # Check if tracks.json already exists - if OUTPUT_FILE.exists(): - response = input(f"{OUTPUT_FILE.name} already exists. Overwrite? (y/n): ").lower().strip() - if response != 'y': - print(f"Scan cancelled. {OUTPUT_FILE.name} was not modified.") - sys.exit(0) - # Find all supported audio files audio_files = [f for f in MIX_DIR.iterdir() if f.suffix.lower() in SUPPORTED_EXTENSIONS]