mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-15 01:32:57 -07:00
Fix Pushover notifications
This commit is contained in:
parent
0e58369873
commit
31b6ff003a
1 changed files with 7 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue