From be322927f8bedbe86e801326651bd548eeda1dd3 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Sun, 25 Jan 2015 00:27:21 +0100 Subject: [BasePlugin] Fix https://github.com/pyload/pyload/issues/1073 --- module/plugins/internal/SimpleHoster.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'module/plugins/internal/SimpleHoster.py') diff --git a/module/plugins/internal/SimpleHoster.py b/module/plugins/internal/SimpleHoster.py index 506974259..5c9d993e7 100644 --- a/module/plugins/internal/SimpleHoster.py +++ b/module/plugins/internal/SimpleHoster.py @@ -245,7 +245,7 @@ def secondsToMidnight(gmt=0): class SimpleHoster(Hoster): __name__ = "SimpleHoster" __type__ = "hoster" - __version__ = "1.09" + __version__ = "1.10" __pattern__ = r'^unmatchable$' @@ -492,7 +492,7 @@ class SimpleHoster(Hoster): self.checkFile() - def downloadLink(self, link, disposition=False): + def downloadLink(self, link, disposition=False): #@TODO: Set `disposition=True` in 0.4.10 if link and isinstance(link, basestring): self.correctCaptcha() @@ -501,7 +501,7 @@ class SimpleHoster(Hoster): baseurl = "%s://%s" % (url_p.scheme, url_p.netloc) link = urljoin(baseurl, link) - self.download(link, disposition=disposition) #@TODO: Set `disposition=True` in 0.4.10 + self.download(link, ref=False, disposition=disposition) def checkFile(self): -- cgit v1.2.3