updated
This commit is contained in:
@@ -52,6 +52,7 @@ local function createSoundFile(fileName)
|
|||||||
event, url, handle = os.pullEvent()
|
event, url, handle = os.pullEvent()
|
||||||
if event == "http_failure" and url == fullPath then
|
if event == "http_failure" and url == fullPath then
|
||||||
print("HTTP request failed for: " .. url)
|
print("HTTP request failed for: " .. url)
|
||||||
|
print(event)
|
||||||
return nil
|
return nil
|
||||||
end
|
end
|
||||||
if event == "http_success" then
|
if event == "http_success" then
|
||||||
@@ -98,4 +99,4 @@ end
|
|||||||
local function report()
|
local function report()
|
||||||
end
|
end
|
||||||
|
|
||||||
return { report = report, watch = watch, startup = startup, shutdown = shutdown, playControlRoomAlarm = playControlRoomAlarm, addSoundFile = addSoundFile }
|
return { report = report, watch = watch, startup = startup, shutdown = shutdown, playControlRoomAlarm = playControlRoomAlarm, addSoundFile = addSoundFile, playExternalAlarm = playExternalAlarm, playInternalAlarm = playInternalAlarm }
|
||||||
Reference in New Issue
Block a user