From 9beda7c96ed7ddb806791bb47b627e26269217f9 Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Tue, 12 Feb 2008 02:42:09 +0000 Subject: [PATCH] Return a full status, including functions, when len(keys) is 0. --- deluge/core/torrent.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/deluge/core/torrent.py b/deluge/core/torrent.py index 23cfdec60..4e4ce905a 100644 --- a/deluge/core/torrent.py +++ b/deluge/core/torrent.py @@ -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: