diff options
author | Nitzo <nitzo2001@yahoo.com> | 2016-01-19 00:08:08 +0100 |
---|---|---|
committer | Nitzo <nitzo2001@yahoo.com> | 2016-01-19 00:08:08 +0100 |
commit | 45dbb10747f606286934741d8ea4ab6e02618632 (patch) | |
tree | 99f40d4175808d957495514ad2f5996087466bd7 /module | |
parent | [MegaCoNz] Update (diff) | |
download | pyload-45dbb10747f606286934741d8ea4ab6e02618632.tar.xz |
[SimpleHoster] fix #2283
Diffstat (limited to 'module')
-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 e5cdd5f6c..c2a51c879 100644 --- a/module/plugins/internal/SimpleHoster.py +++ b/module/plugins/internal/SimpleHoster.py @@ -16,7 +16,7 @@ from module.plugins.internal.misc import (encode, parse_name, parse_size, class SimpleHoster(Hoster): __name__ = "SimpleHoster" __type__ = "hoster" - __version__ = "2.19" + __version__ = "2.20" __status__ = "stable" __pattern__ = r'^unmatchable$' @@ -437,7 +437,7 @@ class SimpleHoster(Hoster): def handle_direct(self, pyfile): - self.link = self.isresource(pyfile.url) + self.link = pyfile.url if self.isresource(pyfile.url) else None def handle_multi(self, pyfile): #: Multi-hoster handler |