Module: deluge Branch: master Commit: af17346ac672926a0ff36f40c5284ba647cc0e5a
Author: Damien Churchill <[email protected]> Date: Wed Mar 31 20:34:52 2010 +0100 return a valid version 2 filetree --- deluge/ui/common.py | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/deluge/ui/common.py b/deluge/ui/common.py index 42f46a1..e8c6e02 100644 --- a/deluge/ui/common.py +++ b/deluge/ui/common.py @@ -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: -- You received this message because you are subscribed to the Google Groups "deluge-commit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/deluge-commit?hl=en.
