From 95e560413976548929300aaa9fa0caf824948d4d Mon Sep 17 00:00:00 2001 From: rembo10 Date: Fri, 17 Aug 2012 17:37:24 +0530 Subject: [PATCH] Fixed 'destination_path' -> 'lossless_destination_path' variable --- headphones/postprocessor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/headphones/postprocessor.py b/headphones/postprocessor.py index 289d72c5..f76fbac0 100644 --- a/headphones/postprocessor.py +++ b/headphones/postprocessor.py @@ -418,7 +418,7 @@ def moveFiles(albumpath, release, tracks): while True: newfolder = folder + '[%i]' % i lossless_destination_path = os.path.normpath(os.path.join(headphones.LOSSLESS_DESTINATION_DIR, newfolder)).encode(headphones.SYS_ENCODING) - if os.path.exists(destination_path): + if os.path.exists(lossless_destination_path): i += 1 else: folder = newfolder