diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-07-14 03:23:54 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-07-14 03:23:54 +0200 |
commit | 40d188eb6260d6e53154649fce3ae449477cc6bf (patch) | |
tree | 4b7b6bfcad0ce1bc93e0e8fc4cf9d12f9f8dcb80 /module/network | |
parent | [Crypter] Set folder (diff) | |
download | pyload-40d188eb6260d6e53154649fce3ae449477cc6bf.tar.xz |
save_path and save_join renamed to safe_path and safe_join
Diffstat (limited to 'module/network')
-rw-r--r-- | module/network/HTTPDownload.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/network/HTTPDownload.py b/module/network/HTTPDownload.py index 767572231..809204070 100644 --- a/module/network/HTTPDownload.py +++ b/module/network/HTTPDownload.py @@ -29,7 +29,7 @@ from HTTPChunk import ChunkInfo, HTTPChunk from HTTPRequest import BadHeader from module.plugins.Plugin import Abort -from module.utils import save_join, fs_encode +from module.utils import safe_join, fs_encode class HTTPDownload: """ loads a url http + ftp """ @@ -114,7 +114,7 @@ class HTTPDownload: fo.close() if self.nameDisposition and self.disposition: - self.filename = save_join(dirname(self.filename), self.nameDisposition) + self.filename = safe_join(dirname(self.filename), self.nameDisposition) move(init, fs_encode(self.filename)) self.info.remove() #remove info file |