aboutsummaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorGabriel Pérez-Cerezo <gabriel@gpcf.eu>2016-06-25 15:28:06 +0200
committerGabriel Pérez-Cerezo <gabriel@gpcf.eu>2016-06-25 15:28:06 +0200
commitc4aa008cb1161f4788a5ec1c565ee33197bc9441 (patch)
treedf2fd88b187b71c7ec51498e83b91be9dc190861 /init.lua
parentda536ccc5d3d32f3f952830f25c9647143a26a67 (diff)
downloadatm-c4aa008cb1161f4788a5ec1c565ee33197bc9441.tar.gz
atm-c4aa008cb1161f4788a5ec1c565ee33197bc9441.tar.bz2
atm-c4aa008cb1161f4788a5ec1c565ee33197bc9441.zip
Fixed fatal error
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index 8addda7..cf473d4 100644
--- a/init.lua
+++ b/init.lua
@@ -59,7 +59,7 @@ function atm.saveaccounts()
end
local data = {}
- local l
+ local l = 0
for k, v in pairs(atm.balance) do
table.insert(data, string.format("%d %s\n", v, k))
l = l+1