summaryrefslogtreecommitdiffstats
path: root/module/utils/fs.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2012-01-03 21:11:46 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2012-01-03 21:11:46 +0100
commitc6fd282189ebf5964ae421ae40d04373701b8357 (patch)
tree20c3eaa0d241939b68ccc71540f3541adcb44031 /module/utils/fs.py
parentfixes for old style decrypter (diff)
downloadpyload-c6fd282189ebf5964ae421ae40d04373701b8357.tar.xz
fs_encode fix
Diffstat (limited to 'module/utils/fs.py')
-rw-r--r--module/utils/fs.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/module/utils/fs.py b/module/utils/fs.py
index 037165b6b..1b5f61c17 100644
--- a/module/utils/fs.py
+++ b/module/utils/fs.py
@@ -12,6 +12,7 @@ if sys.getfilesystemencoding().startswith('ANSI'):
def fs_encode(string):
if type(string) == unicode:
return string.encode('utf8')
+ return string
fs_decode = decode #decode utf8