mirror of
https://github.com/moparisthebest/SickRage
synced 2024-11-18 07:15:13 -05:00
Bugfix - fix issue with Pushover test notifications, false-positive if api/user keys removed in UI but not yet saved
This commit is contained in:
parent
abb7c78dac
commit
e50ce507e5
@ -45,11 +45,11 @@ class PushoverNotifier:
|
||||
returns: True if the message succeeded, False otherwise
|
||||
"""
|
||||
|
||||
if not userKey:
|
||||
if userKey == None:
|
||||
userKey = sickbeard.PUSHOVER_USERKEY
|
||||
|
||||
if not apiKey:
|
||||
apiKey = sickbeard.PUSHOVER_APIKEY or API_KEY
|
||||
if apiKey == None:
|
||||
apiKey = sickbeard.PUSHOVER_APIKEY
|
||||
|
||||
logger.log("Pushover API KEY in use: " + apiKey, logger.DEBUG)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user