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 = {}
|
@@SOUNDS = {}
|
||||||
def self.sounds
|
def self.sounds
|
||||||
if !@@API_KEY
|
if !@@API_KEY
|
||||||
return
|
return @@SOUNDS
|
||||||
end
|
end
|
||||||
|
|
||||||
if @@SOUNDS.length <= 1
|
if @@SOUNDS.length <= 1
|
||||||
|
|
Loading…
Reference in a new issue