diff options
author | neodarz <neodarz@neodarz.net> | 2019-01-21 17:39:33 +0100 |
---|---|---|
committer | neodarz <neodarz@neodarz.net> | 2019-01-21 17:39:33 +0100 |
commit | 5d64e275f2d53039ab8a6738bc1e8fdcc41a0dcd (patch) | |
tree | 3e4a850043c05240224666d1cc71a3c485895b8c | |
parent | 77ca92fc440dcf152dc8ebd023bfe64913ce1e42 (diff) | |
download | convert.py-5d64e275f2d53039ab8a6738bc1e8fdcc41a0dcd.tar.xz convert.py-5d64e275f2d53039ab8a6738bc1e8fdcc41a0dcd.zip |
Show output direction instead of source when file exist
-rwxr-xr-x | convert.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -57,7 +57,7 @@ for file in sorted(os.listdir(sourcedir)): if file.endswith(tuple(ext)): exist = False if os.path.isfile(outdir+"/"+name+".mp3") and arg == "-n": - print("File "+path_rm_end_slash(sourcedir)+"/"+name+".mp3 already exist. Use -y for overwrite.") + print("File "+path_rm_end_slash(outdir)+"/"+name+".mp3 already exist. Use -y for overwrite.") else: print("Converting : "+file) count += 0 |