diff options
author | Andrew Resch <andrewresch@gmail.com> | 2009-05-25 02:27:33 +0000 |
---|---|---|
committer | Andrew Resch <andrewresch@gmail.com> | 2009-05-25 02:27:33 +0000 |
commit | 1505b1704b965d77fcae5e69f0eaa3982e98a303 (patch) | |
tree | 27addb220a3461e3e10a162802cd459987aba2ad | |
parent | 5e40f366826bfd207d5f1e9ab438009309071245 (diff) | |
download | deluge-1505b1704b965d77fcae5e69f0eaa3982e98a303.tar.gz deluge-1505b1704b965d77fcae5e69f0eaa3982e98a303.tar.bz2 deluge-1505b1704b965d77fcae5e69f0eaa3982e98a303.zip |
Fix not using the encoding used in the torrent file to decode some strings
-rw-r--r-- | deluge/ui/common.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/deluge/ui/common.py b/deluge/ui/common.py index c42dd862a..a946285b9 100644 --- a/deluge/ui/common.py +++ b/deluge/ui/common.py @@ -100,7 +100,7 @@ class TorrentInfo(object): for f in self.__m_metadata["info"]["files"]: self.__m_files.append({ - 'path': decode_string(os.path.join(prefix, decode_string(os.path.join(*f["path"])))), + 'path': decode_string(os.path.join(prefix, decode_string(os.path.join(*f["path"]), self.encoding)), self.encoding), 'size': f["length"], 'download': True }) |