mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-02 22:48:40 +00:00
Fix not using the encoding used in the torrent file to decode some strings
This commit is contained in:
parent
5e40f36682
commit
1505b1704b
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ class TorrentInfo(object):
|
||||||
|
|
||||||
for f in self.__m_metadata["info"]["files"]:
|
for f in self.__m_metadata["info"]["files"]:
|
||||||
self.__m_files.append({
|
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"],
|
'size': f["length"],
|
||||||
'download': True
|
'download': True
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue