Fix title encode for Pushover notifications

This commit is contained in:
Jonathan Wong 2015-11-01 20:38:22 -08:00
parent e9017a8342
commit 054f116017

View file

@ -900,7 +900,7 @@ class PUSHOVER(object):
data = {'token': self.application_token,
'user': plexpy.CONFIG.PUSHOVER_KEYS,
'title': event,
'title': event.encode("utf-8"),
'message': message.encode("utf-8"),
'sound': plexpy.CONFIG.PUSHOVER_SOUND,
'priority': plexpy.CONFIG.PUSHOVER_PRIORITY}