aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2019-01-21 17:39:33 +0100
committerneodarz <neodarz@neodarz.net>2019-01-21 17:39:33 +0100
commit5d64e275f2d53039ab8a6738bc1e8fdcc41a0dcd (patch)
tree3e4a850043c05240224666d1cc71a3c485895b8c
parent77ca92fc440dcf152dc8ebd023bfe64913ce1e42 (diff)
downloadconvert.py-5d64e275f2d53039ab8a6738bc1e8fdcc41a0dcd.tar.xz
convert.py-5d64e275f2d53039ab8a6738bc1e8fdcc41a0dcd.zip
Show output direction instead of source when file exist
-rwxr-xr-xconvert.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/convert.py b/convert.py
index 9f3ac2e..2f39fd3 100755
--- a/convert.py
+++ b/convert.py
@@ -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