From 8c0de491dc428752e10919cb876101985577fd4d Mon Sep 17 00:00:00 2001 From: Ruud Date: Tue, 3 Apr 2012 23:18:55 +0200 Subject: [PATCH] Correct type check fix for downloaders --- couchpotato/core/downloaders/base.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/couchpotato/core/downloaders/base.py b/couchpotato/core/downloaders/base.py index e1e851f3..39ee6129 100644 --- a/couchpotato/core/downloaders/base.py +++ b/couchpotato/core/downloaders/base.py @@ -33,10 +33,10 @@ class Downloader(Plugin): return '' - def isCorrectType(self, type): - is_correct = type in self.type + def isCorrectType(self, item_type): + is_correct = item_type in self.type if not is_correct: log.debug("Downloader doesn't support this type") - return bool + return is_correct