summaryrefslogtreecommitdiffstats
path: root/deluge/plugins/Notifications/deluge_notifications/core.py
diff options
context:
space:
mode:
Diffstat (limited to 'deluge/plugins/Notifications/deluge_notifications/core.py')
-rw-r--r--deluge/plugins/Notifications/deluge_notifications/core.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/deluge/plugins/Notifications/deluge_notifications/core.py b/deluge/plugins/Notifications/deluge_notifications/core.py
index 123f9cf05..9eede4576 100644
--- a/deluge/plugins/Notifications/deluge_notifications/core.py
+++ b/deluge/plugins/Notifications/deluge_notifications/core.py
@@ -176,7 +176,7 @@ Date: %(date)s
def _on_torrent_finished_event(self, torrent_id):
log.debug('Handler for TorrentFinishedEvent called for CORE')
torrent = component.get('TorrentManager')[torrent_id]
- torrent_status = torrent.get_status({})
+ torrent_status = torrent.get_status(['name', 'num_files'])
# Email
subject = _('Finished Torrent "%(name)s"') % torrent_status
message = (