diff options
author | GammaC0de <GammaC0de@users.noreply.github.com> | 2015-08-29 22:02:36 +0200 |
---|---|---|
committer | GammaC0de <GammaC0de@users.noreply.github.com> | 2015-08-29 22:02:36 +0200 |
commit | 2a3405db57862c5644643fd9b8bad0a74b0c1cbe (patch) | |
tree | 15006348cc4e57e31083b2693e5d20a824fb7887 | |
parent | [Hoster] fix pyfile.name not updated if disposition (diff) | |
download | pyload-2a3405db57862c5644643fd9b8bad0a74b0c1cbe.tar.xz |
Update Hoster.py
-rw-r--r-- | module/plugins/internal/Hoster.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/internal/Hoster.py b/module/plugins/internal/Hoster.py index a8b8922bb..924672acf 100644 --- a/module/plugins/internal/Hoster.py +++ b/module/plugins/internal/Hoster.py @@ -412,7 +412,7 @@ class Hoster(Plugin): if disposition and newname: finalname = urlparse.urlparse(newname).path.split('/')[-1].split(' filename*=')[0] - if finalname != newname + if finalname != newname: try: os.rename(fs_join(location, newname), fs_join(location, finalname)) |