mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-09 01:48:40 +00:00
return a valid version 2 filetree
This commit is contained in:
parent
e9a922f829
commit
af17346ac6
1 changed files with 7 additions and 5 deletions
|
@ -150,6 +150,7 @@ class TorrentInfo(object):
|
|||
else:
|
||||
if filetree == 2:
|
||||
self.__m_files_tree = {
|
||||
"contents": {
|
||||
self.__m_name: {
|
||||
"type": "file",
|
||||
"index": 0,
|
||||
|
@ -157,6 +158,7 @@ class TorrentInfo(object):
|
|||
"download": True
|
||||
}
|
||||
}
|
||||
}
|
||||
else:
|
||||
self.__m_files_tree = {
|
||||
self.__m_name: (0, self.__m_metadata["info"]["length"], True)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue