summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/Hoster.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-11-22 23:00:43 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-11-22 23:00:43 +0100
commit7a386102e272abf12fc8a03733538421b2711045 (patch)
tree4d1f1ef511bf3e3b3d95f78d35067885deffc01e /pyload/plugins/Hoster.py
parentfixed and improved last pull request (diff)
downloadpyload-7a386102e272abf12fc8a03733538421b2711045.tar.xz
improved addonManager, new property to expose addon information, new functionality to interact with addons
Diffstat (limited to 'pyload/plugins/Hoster.py')
-rw-r--r--pyload/plugins/Hoster.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/plugins/Hoster.py b/pyload/plugins/Hoster.py
index 976918c0d..6bfe47e1f 100644
--- a/pyload/plugins/Hoster.py
+++ b/pyload/plugins/Hoster.py
@@ -9,7 +9,7 @@ if os.name != "nt":
from grp import getgrnam
from pyload.utils import chunks as _chunks
-from pyload.utils.fs import save_join, save_filename, fs_encode, fs_decode, \
+from pyload.utils.fs import save_join, safe_filename, fs_encode, fs_decode, \
remove, makedirs, chmod, stat, exists, join
from Base import Base, Fail, Retry
@@ -268,7 +268,7 @@ class Hoster(Base):
# convert back to unicode
location = fs_decode(location)
- name = save_filename(self.pyfile.name)
+ name = safe_filename(self.pyfile.name)
filename = join(location, name)