Fix input path parsing by stripping quotes from user input

This commit is contained in:
Roncero Blanco, Edgar
2025-05-26 13:53:52 +02:00
parent 53cad05cd9
commit 9000ff1680

View File

@@ -12,7 +12,7 @@ GROUP_SIZE = 5
run_date = datetime.now().strftime("%Y-%m-%d_%H-%M-%S") run_date = datetime.now().strftime("%Y-%m-%d_%H-%M-%S")
# Ask for source path # Ask for source path
source_input = input("Enter the full path to your source MP3 folder: ").strip() source_input = input("Enter the full path to your source MP3 folder: ").strip().strip('"')
source_media_path = Path(source_input) source_media_path = Path(source_input)
if not source_media_path.exists() or not source_media_path.is_dir(): if not source_media_path.exists() or not source_media_path.is_dir():