diff --git a/deluge/ui/common.py b/deluge/ui/common.py index caedef043..42f46a14e 100644 --- a/deluge/ui/common.py +++ b/deluge/ui/common.py @@ -149,7 +149,14 @@ class TorrentInfo(object): self.__m_files_tree = file_tree.get_tree() else: if filetree == 2: - pass + self.__m_files_tree = { + self.__m_name: { + "type": "file", + "index": 0, + "length": self.__m_metadata["info"]["length"], + "download": True + } + } else: self.__m_files_tree = { self.__m_name: (0, self.__m_metadata["info"]["length"], True)