Deluge Move-To Directory

- Deluge move-to directory only relevant if Deluge is the chosen torrent
downloader
This commit is contained in:
Noam
2016-03-04 17:44:44 +02:00
parent 5bf465b883
commit 9b9d728ce3

View File

@@ -46,7 +46,7 @@ def checkFolder():
if album['Kind'] == 'nzb':
download_dir = headphones.CONFIG.DOWNLOAD_DIR
else:
if headphones.CONFIG.DELUGE_DONE_DIRECTORY:
if headphones.CONFIG.DELUGE_DONE_DIRECTORY and headphones.CONFIG.TORRENT_DOWNLOADER == 3:
download_dir = headphones.CONFIG.DELUGE_DONE_DIRECTORY
else:
download_dir = headphones.CONFIG.DOWNLOAD_TORRENT_DIR