summaryrefslogtreecommitdiffstats
path: root/deluge/ui/gtkui/notification.py
diff options
context:
space:
mode:
Diffstat (limited to 'deluge/ui/gtkui/notification.py')
-rw-r--r--deluge/ui/gtkui/notification.py3
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")
-