From fc3752808d5040f1b287539f89904f4ed5559ebf Mon Sep 17 00:00:00 2001 From: rembo10 Date: Fri, 23 Mar 2012 17:30:43 +0000 Subject: [PATCH] Don't append a [1] to the destination dir if album names aren't being used --- headphones/postprocessor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/headphones/postprocessor.py b/headphones/postprocessor.py index af9fc370..673dd704 100644 --- a/headphones/postprocessor.py +++ b/headphones/postprocessor.py @@ -344,7 +344,7 @@ def moveFiles(albumpath, release, tracks): destination_path = os.path.normpath(os.path.join(headphones.DESTINATION_DIR, folder)).encode(headphones.SYS_ENCODING) - if os.path.exists(destination_path): + if os.path.exists(destination_path) and 'album' in headphones.FOLDER_FORMAT: i = 1 while True: newfolder = folder + '[%i]' % i