diff options
Diffstat (limited to 'deluge/core/torrent.py')
-rw-r--r-- | deluge/core/torrent.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/deluge/core/torrent.py b/deluge/core/torrent.py index 99ba11a0d..bf833f0bf 100644 --- a/deluge/core/torrent.py +++ b/deluge/core/torrent.py @@ -626,7 +626,7 @@ class Torrent(object): return host return "" - def get_status(self, keys, diff=False, update=False): + def get_status(self, keys, diff=False, update=False, all_keys=False): """ Returns the status of the torrent based on the keys provided @@ -646,7 +646,7 @@ class Torrent(object): if update: self.update_status(self.handle.status()) - if not keys: + if all_keys: keys = self.status_funcs.keys() status_dict = {} |