diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2012-06-03 18:57:07 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2012-06-03 18:57:07 +0200 |
commit | 75a31163418cd6ae2c188071fd693e4eb9452ddd (patch) | |
tree | 350e7154adec756e24c308e644c26cf9b715d3aa /module | |
parent | increased version, closed #606 (diff) | |
download | pyload-75a31163418cd6ae2c188071fd693e4eb9452ddd.tar.xz |
closed #605
Diffstat (limited to 'module')
-rw-r--r-- | module/plugins/internal/MultiHoster.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/module/plugins/internal/MultiHoster.py b/module/plugins/internal/MultiHoster.py index e301febd4..e9e321c06 100644 --- a/module/plugins/internal/MultiHoster.py +++ b/module/plugins/internal/MultiHoster.py @@ -11,18 +11,20 @@ class MultiHoster(Hook): Generic MultiHoster plugin """ - __version__ = "0.11" + __version__ = "0.12" interval = 0 hosters = [] replacements = [] supported = [] + ignored = [] def getHosterCached(self): if not self.hosters: try: - self.hosters = self.getHoster() + self.hosters = [x.strip() for x in self.getHoster()] + self.hosters = filter(lambda x: x and x not in self.ignored, self.hosters) except Exception, e: self.logError("%s" % str(e)) return [] |