summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal/MultiHoster.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/internal/MultiHoster.py')
-rw-r--r--module/plugins/internal/MultiHoster.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/module/plugins/internal/MultiHoster.py b/module/plugins/internal/MultiHoster.py
index f6d202ee9..6bcad293c 100644
--- a/module/plugins/internal/MultiHoster.py
+++ b/module/plugins/internal/MultiHoster.py
@@ -7,8 +7,9 @@ from module.utils import remove_chars
class MultiHoster(Hook):
- __name__ = "AbtractExtractor"
- __version__ = "0.19"
+ __name__ = "MultiHoster"
+ __type__ = "hook"
+ __version__ = "0.20"
__description__ = """Generic MultiHoster plugin"""
__author_name__ = "pyLoad Team"
@@ -28,15 +29,15 @@ class MultiHoster(Hook):
self.new_supported = []
def getConfig(self, option, default=''):
- """getConfig with default value - sublass may not implements all config options"""
+ """getConfig with default value - subclass may not implements all config options"""
try:
- return self.getConf(option)
+ # Fixed loop due to getConf deprecation in 0.4.10
+ return super(MultiHoster, self).getConfig(option)
except KeyError:
return default
def getHosterCached(self):
if not self.hosters:
-
try:
hosterSet = self.toHosterSet(self.getHoster()) - set(self.ignored)
except Exception, e: