updated
This commit is contained in:
@@ -52,6 +52,7 @@ local function createSoundFile(fileName)
|
||||
event, url, handle = os.pullEvent()
|
||||
if event == "http_failure" and url == fullPath then
|
||||
print("HTTP request failed for: " .. url)
|
||||
print(event)
|
||||
return nil
|
||||
end
|
||||
if event == "http_success" then
|
||||
@@ -98,4 +99,4 @@ end
|
||||
local function report()
|
||||
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