diff options
author | GammaC0de <GammaC0de@users.noreply.github.com> | 2015-11-01 00:22:04 +0100 |
---|---|---|
committer | GammaC0de <GammaC0de@users.noreply.github.com> | 2015-11-01 00:22:04 +0100 |
commit | 510ece43a8e7f9da32eb983d80cac2e4ca4eb0e9 (patch) | |
tree | 98f96634f54ef0e4c1ec6101bc4965299120ccba | |
parent | Merge pull request #2137 from thadrien/pull-request-DropboxCom (diff) | |
download | pyload-510ece43a8e7f9da32eb983d80cac2e4ca4eb0e9.tar.xz |
Update SimpleHoster.py
-rw-r--r-- | module/plugins/internal/SimpleHoster.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/internal/SimpleHoster.py b/module/plugins/internal/SimpleHoster.py index b54d4dc98..8269dc396 100644 --- a/module/plugins/internal/SimpleHoster.py +++ b/module/plugins/internal/SimpleHoster.py @@ -17,7 +17,7 @@ from module.plugins.internal.utils import (encode, parse_name, parse_size, class SimpleHoster(Hoster): __name__ = "SimpleHoster" __type__ = "hoster" - __version__ = "2.06" + __version__ = "2.07" __status__ = "stable" __pattern__ = r'^unmatchable$' @@ -420,7 +420,7 @@ class SimpleHoster(Hoster): def handle_direct(self, pyfile): - self.link = self.isdownload(pyfile.url) + self.link = pyfile.url if self.isdownload(pyfile.url) else None def handle_multi(self, pyfile): #: Multi-hoster handler |