From 1505b1704b965d77fcae5e69f0eaa3982e98a303 Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Mon, 25 May 2009 02:27:33 +0000 Subject: [PATCH] Fix not using the encoding used in the torrent file to decode some strings --- deluge/ui/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 })