Fix syntax
This commit is contained in:
parent
e64786bb30
commit
d1309c95af
@ -511,10 +511,10 @@ function enqueueForJob2()
|
||||
rednet.send(server, "gibjob")
|
||||
_, job, _ = rednet.receive()
|
||||
if message then
|
||||
if message != "nojobs" then
|
||||
return tonumber(job)
|
||||
else
|
||||
if message == "nojobs" then
|
||||
sleep(3)
|
||||
else
|
||||
return tonumber(job)
|
||||
end
|
||||
else
|
||||
if not retrying then
|
||||
|
Loading…
Reference in New Issue
Block a user