diff options
-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 [] |