Opened 4 years ago

#3379 new bug

Notifications-0.3/...:CoreNotifications._on_torrent_finished_event(): KeyError exception due to incorrect call to torrent.get_status()

Reported by: lalbornoz Owned by:
Priority: minor Milestone: needs verified
Component: Plugin Version: 2.0.3
Keywords: notifications Cc:

Description

The Notifications plugin as of version 0.3 calls torrent.get_status() with an empty keys list whilst expecting the presence of the keys name and num_files, causing a KeyError exception to be thrown. The patch enclosed fixes this by passing ['name', 'num_files'] to torrent.get_status().

Attachments (1)

deluge-2.0.3+fix_Notifications_plugin.patch (650 bytes) - added by lalbornoz 4 years ago.

Download all attachments as: .zip

Change History (1)

Changed 4 years ago by lalbornoz

Note: See TracTickets for help on using tickets.