mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-11 05:33:37 +00: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
1 changed files with 3 additions and 3 deletions
|
@ -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 a new issue