diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2012-01-08 16:47:52 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2012-01-08 16:47:52 +0100 |
commit | 1ecdd9f6b53fec45e1d48592e3ff56aa7a576bec (patch) | |
tree | 8d9e42cb670a24b4a9adb439cfc15c4277a61716 /module/plugins/Hoster.py | |
parent | new MultiHoster hook (diff) | |
download | pyload-1ecdd9f6b53fec45e1d48592e3ff56aa7a576bec.tar.xz |
some cleanups, closed #490
Diffstat (limited to 'module/plugins/Hoster.py')
-rw-r--r-- | module/plugins/Hoster.py | 4 |
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) |