multiMiner + cloud catcher
This commit is contained in:
@@ -121,7 +121,14 @@ local function connect()
|
||||
assert(success, "Failed to subscribe to event")
|
||||
end
|
||||
|
||||
jua.go(function()
|
||||
print("Ready")
|
||||
connect()
|
||||
local s, m = pcall(function()
|
||||
jua.go(function()
|
||||
print("Ready")
|
||||
connect()
|
||||
end)
|
||||
end)
|
||||
|
||||
rs.setOutput('top', false)
|
||||
if not s then
|
||||
error(m)
|
||||
end
|
||||
|
||||
@@ -32,8 +32,8 @@ end
|
||||
local function findID(url)
|
||||
local found = gfind(url, idPatt)
|
||||
local id = tonumber(found[#found]:sub(found[#found]:find("%d+")))
|
||||
_debug('id: ')
|
||||
_debug(id)
|
||||
--_debug('id: ')
|
||||
--_debug(id)
|
||||
return id
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user