chore: fix some of the luacheck errors

This commit is contained in:
Qingping Hou committed 2015-04-26 20:57:45 -04:00
1 parent e695a3c30d
commit 186673587e
22 files changed
+84 -47

No files matched your search

+1 -1
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()