diff options
Diffstat (limited to 'module/plugins/internal/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 |