From f3ae63c7a9f921344cc48f39b9da4e26b2f5b129 Mon Sep 17 00:00:00 2001 From: Ruud Date: Sun, 23 Mar 2014 17:50:49 +0100 Subject: [PATCH] Don't extend release_download when none is set --- couchpotato/core/plugins/renamer.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/couchpotato/core/plugins/renamer.py b/couchpotato/core/plugins/renamer.py index 4eca783..9099c44 100644 --- a/couchpotato/core/plugins/renamer.py +++ b/couchpotato/core/plugins/renamer.py @@ -204,7 +204,8 @@ class Renamer(Plugin): db = get_db() # Extend the download info with info stored in the downloaded release - release_download = self.extendReleaseDownload(release_download) + if release_download: + release_download = self.extendReleaseDownload(release_download) # Unpack any archives extr_files = None