summaryrefslogtreecommitdiffstats
path: root/module/utils/fs.py
diff options
context:
space:
mode:
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