Pushover: return a hash from self.sounds when no api key configured
fixes #120
This commit is contained in:
parent
df75c8f787
commit
6cca9f64e5
|
@ -7,7 +7,7 @@ class Pushover
|
|||
@@SOUNDS = {}
|
||||
def self.sounds
|
||||
if !@@API_KEY
|
||||
return
|
||||
return @@SOUNDS
|
||||
end
|
||||
|
||||
if @@SOUNDS.length <= 1
|
||||
|
|
Loading…
Reference in a new issue