mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-21 12:04:51 +00:00
Return a full status, including functions, when len(keys) is 0.
This commit is contained in:
parent
22352888f6
commit
9beda7c96e
1 changed files with 2 additions and 0 deletions
|
@ -272,6 +272,8 @@ class Torrent:
|
|||
|
||||
if len(keys) == 0:
|
||||
status_dict = full_status
|
||||
for key in fns:
|
||||
status_dict[key] = fns[key]()
|
||||
else:
|
||||
for key in keys:
|
||||
if key in full_status:
|
||||
|
|
Loading…
Add table
Reference in a new issue