Minor code style tweak

This commit is contained in:
2018-10-01 09:29:32 +01:00
parent 4fdea35162
commit 28399a1d7e

View File

@@ -13,8 +13,8 @@ function obj:init()
end
function obj.file_exists(name)
local f=io.open(name,"r")
if f~=nil then io.close(f) return true else return false end
local f = io.open(name, "r")
if f ~= nil then io.close(f) return true else return false end
end
return obj