Fix input path parsing by stripping quotes from user input
This commit is contained in:
@@ -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():
|
||||||
|
Reference in New Issue
Block a user