summaryrefslogtreecommitdiffstats
path: root/pyload/network
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2015-02-28 22:34:54 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2015-02-28 22:34:54 +0100
commite9f69e9df0fd1cd484670af180d64caea53eaa5c (patch)
treeb9e39821e948cb8dbe0adf79f9109f010314aef3 /pyload/network
parentMerge branch 'stable' into 0.4.10 (diff)
downloadpyload-e9f69e9df0fd1cd484670af180d64caea53eaa5c.tar.xz
safe_join -> fs_join
Diffstat (limited to 'pyload/network')
-rw-r--r--pyload/network/HTTPDownload.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/network/HTTPDownload.py b/pyload/network/HTTPDownload.py
index acefbe62e..0d331ca99 100644
--- a/pyload/network/HTTPDownload.py
+++ b/pyload/network/HTTPDownload.py
@@ -13,7 +13,7 @@ from pyload.network.HTTPChunk import ChunkInfo, HTTPChunk
from pyload.network.HTTPRequest import BadHeader
from pyload.plugin.Plugin import Abort
-from pyload.utils import safe_join, fs_encode
+from pyload.utils import fs_join, fs_encode
class HTTPDownload(object):
@@ -99,7 +99,7 @@ class HTTPDownload(object):
fo.close()
if self.nameDisposition and self.disposition:
- self.filename = safe_join(dirname(self.filename), self.nameDisposition)
+ self.filename = fs_join(dirname(self.filename), self.nameDisposition)
move(init, fs_encode(self.filename))
self.info.remove() #remove info file