diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-04-01 17:37:42 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-04-01 17:37:42 +0200 |
commit | d48edc4a00a99b34656453e8d581b1bfe0211926 (patch) | |
tree | 69eb1bfe16aef8f181e5e28a610f3ab433c5a04a | |
parent | Temp fixup to `filename*=UTF-8` bug (2) (diff) | |
download | pyload-d48edc4a00a99b34656453e8d581b1bfe0211926.tar.xz |
[BasePlugin] Fix https://github.com/pyload/pyload/issues/1304
-rw-r--r-- | module/plugins/hoster/BasePlugin.py | 4 | ||||
-rw-r--r-- | module/plugins/hoster/Ftp.py | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/module/plugins/hoster/BasePlugin.py b/module/plugins/hoster/BasePlugin.py index 8da7ff5df..7c7e75d33 100644 --- a/module/plugins/hoster/BasePlugin.py +++ b/module/plugins/hoster/BasePlugin.py @@ -13,7 +13,7 @@ from module.plugins.Hoster import Hoster class BasePlugin(Hoster): __name__ = "BasePlugin" __type__ = "hoster" - __version__ = "0.39" + __version__ = "0.40" __pattern__ = r'^unmatchable$' @@ -48,7 +48,7 @@ class BasePlugin(Hoster): content = urllib2.urlopen(self.link).info()['Content-Disposition'].split(';') self.pyfile.name = content[1].split('filename=')[1][1:-1] finally: - return super(SimpleHoster, self).download(url, get, post, ref, cookies, False) + return super(BasePlugin, self).download(url, get, post, ref, cookies, False) def process(self, pyfile): diff --git a/module/plugins/hoster/Ftp.py b/module/plugins/hoster/Ftp.py index 370dc7b0f..943701fee 100644 --- a/module/plugins/hoster/Ftp.py +++ b/module/plugins/hoster/Ftp.py @@ -12,7 +12,7 @@ from module.plugins.Hoster import Hoster class Ftp(Hoster): __name__ = "Ftp" __type__ = "hoster" - __version__ = "0.47" + __version__ = "0.48" __pattern__ = r'(?:ftps?|sftp)://([\w.-]+(:[\w.-]+)?@)?[\w.-]+(:\d+)?/.+' @@ -35,7 +35,7 @@ class Ftp(Hoster): content = urllib2.urlopen(self.link).info()['Content-Disposition'].split(';') self.pyfile.name = content[1].split('filename=')[1][1:-1] finally: - return super(SimpleHoster, self).download(url, get, post, ref, cookies, False) + return super(Ftp, self).download(url, get, post, ref, cookies, False) def process(self, pyfile): |