Return a full status, including functions, when len(keys) is 0.

This commit is contained in:
Andrew Resch 2008-02-12 02:42:09 +00:00
parent 22352888f6
commit 9beda7c96e
1 changed files with 2 additions and 0 deletions

View File

@ -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: