Use correct super class
This commit is contained in:
1 parent
ae3d9c0a0a
commit
91c3df7c46
1 file changed
+1
-1
@@ -168,7 +168,7 @@ class DownloaderBase(Provider):
|
|||||||
if not data: data = {}
|
if not data: data = {}
|
||||||
|
|
||||||
d_manual = self.conf('manual', default = False)
|
d_manual = self.conf('manual', default = False)
|
||||||
return super(Downloader, self).isEnabled() and \
|
return super(DownloaderBase, self).isEnabled() and \
|
||||||
(d_manual and manual or d_manual is False) and \
|
(d_manual and manual or d_manual is False) and \
|
||||||
(not data or self.isCorrectProtocol(data.get('protocol')))
|
(not data or self.isCorrectProtocol(data.get('protocol')))
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user