Fixed 'destination_path' -> 'lossless_destination_path' variable

This commit is contained in:
rembo10
2012-08-17 17:37:24 +05:30
parent d5d8906add
commit 95e5604139

View File

@@ -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