mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Add forgotten f:close() (#10796)
This commit is contained in:
@@ -38,6 +38,7 @@ local function checkStandby()
|
||||
return no
|
||||
end
|
||||
local mode = f:read()
|
||||
f:close()
|
||||
logger.dbg("Kobo: available power states:", mode)
|
||||
if mode and mode:find("standby") then
|
||||
logger.dbg("Kobo: standby state is supported")
|
||||
|
||||
Reference in New Issue
Block a user