mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-18 22:36:51 +00:00
return a valid version 2 filetree
This commit is contained in:
parent
e9a922f829
commit
af17346ac6
@ -150,11 +150,13 @@ class TorrentInfo(object):
|
||||
else:
|
||||
if filetree == 2:
|
||||
self.__m_files_tree = {
|
||||
self.__m_name: {
|
||||
"type": "file",
|
||||
"index": 0,
|
||||
"length": self.__m_metadata["info"]["length"],
|
||||
"download": True
|
||||
"contents": {
|
||||
self.__m_name: {
|
||||
"type": "file",
|
||||
"index": 0,
|
||||
"length": self.__m_metadata["info"]["length"],
|
||||
"download": True
|
||||
}
|
||||
}
|
||||
}
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user