Browse Source

Fix style

Alois Mahdal 8 years ago
parent
commit
d4f6cb5bad
1 changed files with 7 additions and 2 deletions
  1. 7
    2
      dotfiles/imapdomo/common.lua

+ 7
- 2
dotfiles/imapdomo/common.lua View File

18
     --
18
     --
19
     -- True if file *name* exists
19
     -- True if file *name* exists
20
     --
20
     --
21
-    local f=io.open(name,"r")
22
-    if f~=nil then io.close(f) return true else return false end
21
+    local f = io.open(name,"r")
22
+    if f ~= nil then
23
+        io.close(f)
24
+        return true
25
+    else
26
+        return false
27
+    end
23
 end
28
 end
24
 
29
 
25
 function init_host()
30
 function init_host()