chore: fix luacheck warning

pull/1763/head
Qingping Hou 8 years ago
parent 3b92bdc084
commit 9c46cafc9c

@ -1 +1 @@
Subproject commit 9a2503bacc3fe52f5946d8392439f946a5d8dae4
Subproject commit 70d261b62bf66b4b744b1796491cc0837c35838d

@ -329,7 +329,7 @@ function ReaderUI:showReader(file)
self:doShowReader(file)
end)
local ok, err = coroutine.resume(co)
if err ~= nil then
if err ~= nil or ok == false then
print '[!] doShowReader coroutine crashed:'
print(debug.traceback(co, err, 1))
UIManager.quit()

Loading…
Cancel
Save