chore: fix some of the luacheck errors
This commit is contained in:
1 parent
e695a3c30d
commit
186673587e
22 files changed
+84
-47
No files matched your search
@@ -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