mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
chore: fix luacheck warning
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user