chore: fix some of the luacheck errors

This commit is contained in:
Qingping Hou
2015-04-26 20:49:27 -04:00
parent e695a3c30d
commit 186673587e
22 changed files with 84 additions and 47 deletions

View File

@@ -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()