summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-11-26 00:45:01 +0100
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-11-26 00:45:01 +0100
commitb87c465be5928343c7a52fa48740d24c34f04a14 (patch)
tree8151d37fdbd9926f6f8ae27aeb5833dd179a1c44
parentMerge pull request #2144 from GammaC0de/patch-10 (diff)
parentUpdate SimpleHoster.py (diff)
downloadpyload-b87c465be5928343c7a52fa48740d24c34f04a14.tar.xz
Merge pull request #2140 from GammaC0de/patch-9
[SimpleHoster] update
-rw-r--r--module/plugins/internal/SimpleHoster.py4
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