diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-07-29 14:05:49 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-07-29 14:05:49 +0200 |
commit | 064c4bca39b545cdab7e0b45816ed1a260e192a2 (patch) | |
tree | ac5964b0bf012a06e64b2f094633c84813ddf377 /module | |
parent | New plugins: AniStreamCom and CloudsixMe (diff) | |
download | pyload-064c4bca39b545cdab7e0b45816ed1a260e192a2.tar.xz |
Fix http://forum.pyload.org/viewtopic.php?f=12&t=4421
Diffstat (limited to 'module')
-rw-r--r-- | module/plugins/internal/Hoster.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/internal/Hoster.py b/module/plugins/internal/Hoster.py index 6fe68bb6f..d30c56035 100644 --- a/module/plugins/internal/Hoster.py +++ b/module/plugins/internal/Hoster.py @@ -47,7 +47,7 @@ def create_getInfo(klass): class Hoster(Plugin): __name__ = "Hoster" __type__ = "hoster" - __version__ = "0.10" + __version__ = "0.11" __status__ = "testing" __pattern__ = r'^unmatchable$' @@ -420,7 +420,7 @@ class Hoster(Plugin): self.pyfile.size = self.req.size if newname: - newname = urlparse.urlparse(newname).path.split('*=')[-1].split('/')[-1] #@TODO: Remove in 0.4.10 + newname = urlparse.urlparse(newname).path.split('/')[-1].split(' filename*=')[0] #@TODO: Remove in 0.4.10 if disposition and newname is not name: self.log_info(_("%(name)s saved as %(newname)s") % {'name': name, 'newname': newname}) |