Opened 5 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: | Lucio Andrés Illanes Albornoz | 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)
Note:
See TracTickets
for help on using tickets.