mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
chore: fix some of the luacheck errors
This commit is contained in:
@@ -18,7 +18,7 @@ local DjvuDocument = Document:new{
|
||||
|
||||
-- check DjVu magic string to validate
|
||||
local function validDjvuFile(filename)
|
||||
f = io.open(filename, "r")
|
||||
local f = io.open(filename, "r")
|
||||
if not f then return false end
|
||||
local magic = f:read(8)
|
||||
f:close()
|
||||
|
||||
Reference in New Issue
Block a user