Return a full status, including functions, when len(keys) is 0.
This commit is contained in:
parent
22352888f6
commit
9beda7c96e
|
@ -272,6 +272,8 @@ class Torrent:
|
||||||
|
|
||||||
if len(keys) == 0:
|
if len(keys) == 0:
|
||||||
status_dict = full_status
|
status_dict = full_status
|
||||||
|
for key in fns:
|
||||||
|
status_dict[key] = fns[key]()
|
||||||
else:
|
else:
|
||||||
for key in keys:
|
for key in keys:
|
||||||
if key in full_status:
|
if key in full_status:
|
||||||
|
|
Loading…
Reference in New Issue