Correct type check fix for downloaders

This commit is contained in:
Ruud
2012-04-03 23:18:55 +02:00
parent 7a246bc190
commit 8c0de491dc
+3 -3
View File
@@ -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