#3303: Notification-plugin mailing-bug.
---------------------+----------------------------
Reporter: mhertz | Owner:
Type: bug | Status: new
Priority: minor | Milestone: needs verified
Component: Plugin | Version: 2.0.0
Resolution: | Keywords:
---------------------+----------------------------
Comment (by dakkar):
My Python is very rusty, but my best guess is:
[[https://git.deluge-
torrent.org/deluge/tree/deluge/plugins/Notifications/deluge_notifications/core.py#n179|CoreNotifications._on_torrent_finished_event]]
calls `torrent.get_status({})` but the `Torrent.get_status` method expects
a //list// of field names to return, not a dictionary. Therefore, the
dictionary `torrent_status` is empty, and causes that `KeyError`.
--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3303#comment:3>
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/060.c5c94462b287b497433f145f91c5ff2f%40deluge-torrent.org.