diff options
author | Andrew Resch <andrewresch@gmail.com> | 2009-01-08 21:31:04 +0000 |
---|---|---|
committer | Andrew Resch <andrewresch@gmail.com> | 2009-01-08 21:31:04 +0000 |
commit | 6cd794fa185a8df7e3507a9b4e046d6bc8adcb93 (patch) | |
tree | 33509a1a79fcd755a4d94058bfb637ab5a0d7f1c | |
parent | b258a9c3407e1a49649f98b02e9f988dabbfed8f (diff) | |
download | deluge-6cd794fa185a8df7e3507a9b4e046d6bc8adcb93.tar.gz deluge-6cd794fa185a8df7e3507a9b4e046d6bc8adcb93.tar.bz2 deluge-6cd794fa185a8df7e3507a9b4e046d6bc8adcb93.zip |
Fix missing status key in notification get_status
-rw-r--r-- | deluge/ui/gtkui/notification.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/deluge/ui/gtkui/notification.py b/deluge/ui/gtkui/notification.py index 023c3c865..b8e960441 100644 --- a/deluge/ui/gtkui/notification.py +++ b/deluge/ui/gtkui/notification.py @@ -42,7 +42,7 @@ class Notification: self.get_torrent_status(torrent_id) def get_torrent_status(self, torrent_id): - client.get_torrent_status(self._on_get_torrent_status, torrent_id, ["name", "num_files"]) + client.get_torrent_status(self._on_get_torrent_status, torrent_id, ["name", "num_files", "total_payload_download"]) def _on_get_torrent_status(self, status): if status is None: @@ -122,4 +122,3 @@ class Notification: log.warning("sending email notification of finished torrent failed") else: log.info("sending email notification of finished torrent was successful") - |