cleanup automatic progress update in file tab

This commit is contained in:
Marcos Pinto 2007-06-13 04:20:05 +00:00
parent 180fb899f4
commit 96cc172ae1
1 changed files with 0 additions and 7 deletions

View File

@ -796,13 +796,6 @@ class DelugeGTK:
new_file_info = self.manager.get_torrent_file_info(unique_id) new_file_info = self.manager.get_torrent_file_info(unique_id)
new_files = {}
for index in range(len(new_file_info)):
if not new_file_info[index]['path'] == "":
assert(new_file_info[index]['path'] not in new_files.keys())
new_files[new_file_info[index]['path']] = index
iter = self.file_store.get_iter_root() iter = self.file_store.get_iter_root()
for file in new_file_info: for file in new_file_info:
self.file_store.set_value(iter, 4, round(file['progress'],2)) self.file_store.set_value(iter, 4, round(file['progress'],2))