From 2e5ce520eb82285c1786ada16c25c19c50bbd76e Mon Sep 17 00:00:00 2001 From: Ade Date: Fri, 14 Apr 2017 08:23:11 +1200 Subject: [PATCH] pp fix up Fixes https://github.com/rembo10/headphones/issues/2911 --- headphones/postprocessor.py | 1 + 1 file changed, 1 insertion(+) diff --git a/headphones/postprocessor.py b/headphones/postprocessor.py index a6a55200..e3deee23 100755 --- a/headphones/postprocessor.py +++ b/headphones/postprocessor.py @@ -55,6 +55,7 @@ def checkFolder(): # Get folder from torrent hash if album['TorrentHash'] and headphones.CONFIG.TORRENT_DOWNLOADER: + torrent_folder_name = None if headphones.CONFIG.TORRENT_DOWNLOADER == 1: torrent_folder_name, single = transmission.getFolder(album['TorrentHash']) elif headphones.CONFIG.TORRENT_DOWNLOADER == 4: