From 5d64e275f2d53039ab8a6738bc1e8fdcc41a0dcd Mon Sep 17 00:00:00 2001 From: neodarz Date: Mon, 21 Jan 2019 17:39:33 +0100 Subject: Show output direction instead of source when file exist --- convert.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1