summaryrefslogtreecommitdiffstats
path: root/module/plugins/Hoster.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2012-01-08 16:47:52 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2012-01-08 16:47:52 +0100
commit1ecdd9f6b53fec45e1d48592e3ff56aa7a576bec (patch)
tree8d9e42cb670a24b4a9adb439cfc15c4277a61716 /module/plugins/Hoster.py
parentnew MultiHoster hook (diff)
downloadpyload-1ecdd9f6b53fec45e1d48592e3ff56aa7a576bec.tar.xz
some cleanups, closed #490
Diffstat (limited to 'module/plugins/Hoster.py')
-rw-r--r--module/plugins/Hoster.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/Hoster.py b/module/plugins/Hoster.py
index 54c2efdfd..bef4b1949 100644
--- a/module/plugins/Hoster.py
+++ b/module/plugins/Hoster.py
@@ -29,7 +29,7 @@ if os.name != "nt":
from Base import Base, Fail, Retry
from module.utils import chunks #legacy import
-from module.utils.fs import save_join, save_path, fs_encode, fs_decode,\
+from module.utils.fs import save_join, save_filename, fs_encode, fs_decode,\
remove, makedirs, chmod, stat, exists, join
@@ -339,7 +339,7 @@ class Hoster(Base):
# convert back to unicode
location = fs_decode(location)
- name = save_path(self.pyfile.name)
+ name = save_filename(self.pyfile.name)
filename = join(location, name)