fix missing attr for progress
This commit is contained in:
parent
3932d5745b
commit
293e083faf
|
@ -79,7 +79,8 @@ class ClientCache(object):
|
||||||
for cid, client in self.clients.items(): # TODO parallelize
|
for cid, client in self.clients.items(): # TODO parallelize
|
||||||
self.data.torrents[cid] = client.rpc.core.get_torrents_status({"label": self.options["label"]},
|
self.data.torrents[cid] = client.rpc.core.get_torrents_status({"label": self.options["label"]},
|
||||||
['name', 'label', 'save_path', 'is_seed',
|
['name', 'label', 'save_path', 'is_seed',
|
||||||
'is_finished', 'progress', 'files'])
|
'is_finished', 'progress', 'files',
|
||||||
|
'paused', 'peers', 'eta'])
|
||||||
newkeys = self.data.torrents[cid].keys()
|
newkeys = self.data.torrents[cid].keys()
|
||||||
for key in list(self.data.moves[cid].keys()):
|
for key in list(self.data.moves[cid].keys()):
|
||||||
if key not in newkeys:
|
if key not in newkeys:
|
||||||
|
|
Loading…
Reference in New Issue