summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2012-04-11 22:45:39 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2012-04-11 22:45:39 +0200
commit66721b800e403a28a337f6bd7f35af613b34df4e (patch)
treec621720f697acc2d40e538b483fa9058d4a03703 /module/plugins/internal
parentupdate letitbit, depositfiles, ul.to; add trailerzone crypter by godofdream (diff)
downloadpyload-66721b800e403a28a337f6bd7f35af613b34df4e.tar.xz
multihoster fix, fixes #576
Diffstat (limited to 'module/plugins/internal')
-rw-r--r--module/plugins/internal/MultiHoster.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/internal/MultiHoster.py b/module/plugins/internal/MultiHoster.py
index dbf294726..e301febd4 100644
--- a/module/plugins/internal/MultiHoster.py
+++ b/module/plugins/internal/MultiHoster.py
@@ -11,7 +11,7 @@ class MultiHoster(Hook):
Generic MultiHoster plugin
"""
- __version__ = "0.1"
+ __version__ = "0.11"
interval = 0
hosters = []
@@ -75,7 +75,7 @@ class MultiHoster(Hook):
self.logDebug("New Hosters: %s" % ", ".join(sorted(new_supported)))
# create new regexp
- if not klass.__pattern__ or klass.pattern == "":
+ if not klass.__pattern__:
regexp = r".*(%s).*" % "|".join([x.replace(".", "\\.") for x in new_supported])
else:
regexp = r".*(%s).*" % "|".join([klass.__pattern__] + [x.replace(".", "\\.") for x in new_supported])