#3379: Notifications-0.3/...:CoreNotifications._on_torrent_finished_event():
KeyError exception due to incorrect call to torrent.get_status()
----------------------------+---------------------------
 Reporter:  lalbornoz       |       Type:  bug
   Status:  new             |   Priority:  minor
Milestone:  needs verified  |  Component:  Plugin
  Version:  2.0.3           |   Keywords:  notifications
----------------------------+---------------------------
 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()'''.

--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3379>
Deluge <https://deluge-torrent.org/>
Deluge Project

-- 
You received this message because you are subscribed to the Google Groups 
"Deluge Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/deluge-dev/048.0ecd40b40452297ad68e5983b5bca54b%40deluge-torrent.org.

Reply via email to