mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-03 23:18:40 +00:00
cleanup automatic progress update in file tab
This commit is contained in:
parent
180fb899f4
commit
96cc172ae1
1 changed files with 0 additions and 7 deletions
|
@ -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))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue