Ticket #3379: deluge-2.0.3+fix_Notifications_plugin.patch

File deluge-2.0.3+fix_Notifications_plugin.patch, 650 bytes (added by Lucio Andrés Illanes Albornoz, 4 years ago)
  • deluge/plugins/Notifications-0.3.egg/deluge_notifications/core.py

    old new  
    176176    def _on_torrent_finished_event(self, torrent_id):
    177177        log.debug('Handler for TorrentFinishedEvent called for CORE')
    178178        torrent = component.get('TorrentManager')[torrent_id]
    179         torrent_status = torrent.get_status({})
     179        torrent_status = torrent.get_status(['name', 'num_files'])
    180180        # Email
    181181        subject = _('Finished Torrent "%(name)s"') % torrent_status
    182182        message = (