aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel Pérez-Cerezo <gabriel@gpcf.eu>2016-06-25 15:29:34 +0200
committerGabriel Pérez-Cerezo <gabriel@gpcf.eu>2016-06-25 15:29:34 +0200
commitb86e76632c0727204f974e2847f1ea8457414db1 (patch)
tree870eb003ae698b6f88bdc0f80b3d0f57d23c9fe1
parentc4aa008cb1161f4788a5ec1c565ee33197bc9441 (diff)
downloadatm-b86e76632c0727204f974e2847f1ea8457414db1.tar.gz
atm-b86e76632c0727204f974e2847f1ea8457414db1.tar.bz2
atm-b86e76632c0727204f974e2847f1ea8457414db1.zip
Fixed another fatal error
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index cf473d4..52ca563 100644
--- a/init.lua
+++ b/init.lua
@@ -64,7 +64,7 @@ function atm.saveaccounts()
table.insert(data, string.format("%d %s\n", v, k))
l = l+1
end
- if not l < atm.linecount then
+ if not (l < atm.linecount) then
local output = io.open(atm.pth, "w")
output:write(table.concat(data))
io.close(output)