update error messages

master
piyx 4 years ago committed by piyx
parent 20e323213c
commit ad920d59fd

@ -46,7 +46,7 @@ def organize_files(drive):
elif operating_system == 'Windows': # Windows
drive = drive + '\\'
if not os.path.exists(drive):
print("ERROR! Invalid location")
print(f"ERROR! {drive} is not a valid location")
return
files = os.listdir(drive)
extns = {os.path.splitext(file)[1].strip('.') for file in files}

Loading…
Cancel
Save