From 40d188eb6260d6e53154649fce3ae449477cc6bf Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Mon, 14 Jul 2014 03:23:54 +0200 Subject: save_path and save_join renamed to safe_path and safe_join --- module/network/HTTPDownload.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'module/network') 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 -- cgit v1.2.3