diff options
author | 2011-12-16 10:51:01 +0100 | |
---|---|---|
committer | 2011-12-16 10:51:01 +0100 | |
commit | ce0e647e819fce4953552783021dbd15da3ce843 (patch) | |
tree | fda1d3b93efed80026b22c9ef37283a46306cb47 /module/Utils.py | |
parent | pyLoad 0.4.9 (diff) | |
download | pyload-ce0e647e819fce4953552783021dbd15da3ce843.tar.xz |
encoding fix
Diffstat (limited to 'module/Utils.py')
-rw-r--r-- | module/Utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/Utils.py b/module/Utils.py index c965e33c4..8748b7693 100644 --- a/module/Utils.py +++ b/module/Utils.py @@ -43,7 +43,7 @@ def save_path(name): def save_join(*args): """ joins a path, encoding aware """ - return fs_encode(join(*[unicode(x) for x in args])) + return fs_encode(join(*[x if type(x) == unicode else decode(x) for x in args])) # File System Encoding functions: |