summaryrefslogtreecommitdiffstats
path: root/module/utils.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-11-08 01:50:14 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-11-08 01:50:14 +0100
commit53968f51fc46a358ae2278a4f11854e50815f4a5 (patch)
tree81acddc5dddc7155ade3df143898d8baef5b3777 /module/utils.py
parent[XFSHoster] Improve ERROR_PATTERN (diff)
downloadpyload-53968f51fc46a358ae2278a4f11854e50815f4a5.tar.xz
Fix fs_encode method
Diffstat (limited to 'module/utils.py')
-rw-r--r--module/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/utils.py b/module/utils.py
index 8748b7693..42dc9e1cc 100644
--- a/module/utils.py
+++ b/module/utils.py
@@ -54,7 +54,7 @@ if sys.getfilesystemencoding().startswith('ANSI'):
try:
string = string.encode('utf-8')
finally:
- return string
+ return save_path(string)
fs_decode = decode #decode utf8