summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal/Hoster.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-28 22:06:31 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-28 22:06:31 +0200
commit5745baca2dd9c8831631489781ef950af5184081 (patch)
treee6c0f5705f83ef389907d151d0390e8f0af2ed68 /module/plugins/internal/Hoster.py
parentFix https://github.com/pyload/pyload/issues/1582 (diff)
downloadpyload-5745baca2dd9c8831631489781ef950af5184081.tar.xz
Fix https://github.com/pyload/pyload/issues/1520
Diffstat (limited to 'module/plugins/internal/Hoster.py')
-rw-r--r--module/plugins/internal/Hoster.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/internal/Hoster.py b/module/plugins/internal/Hoster.py
index fdfe92593..6fe68bb6f 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.09"
+ __version__ = "0.10"
__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('/')[-1] #@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})