From 31b6ff003a9e6783b895caa276723e8bf88349fb Mon Sep 17 00:00:00 2001 From: JonnyWong16 Date: Mon, 10 Oct 2016 10:35:02 -0700 Subject: [PATCH] Fix Pushover notifications --- plexpy/notifiers.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/plexpy/notifiers.py b/plexpy/notifiers.py index b52959da..2a2a78d0 100644 --- a/plexpy/notifiers.py +++ b/plexpy/notifiers.py @@ -1122,13 +1122,13 @@ class PUSHOVER(Notifier): if not subject or not body: return - data = {'token': self.apitoken, - 'user': self.keys, - 'title': event.encode("utf-8"), - 'message': message.encode("utf-8"), - 'sound': self.sound, - 'html': self.html_support, - 'priority': self.priority} + data = {'token': self.config['apitoken'], + 'user': self.config['keys'], + 'title': subject.encode("utf-8"), + 'message': body.encode("utf-8"), + 'sound': self.config['sound'], + 'html': self.config['html_support'], + 'priority': self.config['priority']} if self.config['incl_url'] and 'metadata' in kwargs: # Grab formatted metadata