summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoritsme <itsme@xs4all.nl>2021-07-07 18:26:09 +0200
committeritsme <itsme@xs4all.nl>2021-07-07 18:26:09 +0200
commit8bcb2e9f570d3ee4a84884e5907b03e37a0b8389 (patch)
tree6946e907ac43a63ad530180acf7abe3b7528130a
parent3de7b59f8073d1874ae14b23c0b191451f3db788 (diff)
Base nr starts at 0
-rw-r--r--crodump.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/crodump.py b/crodump.py
index 868a4be..8d69df9 100644
--- a/crodump.py
+++ b/crodump.py
@@ -259,7 +259,7 @@ class Database:
259 dbinfo = self.stru.readrec(1) 259 dbinfo = self.stru.readrec(1)
260 dbdef = destruct_bank_definition(args, dbinfo) 260 dbdef = destruct_bank_definition(args, dbinfo)
261 261
262 for i in range(1, 100): 262 for i in range(100):
263 idx = dbdef.get("Base%03d" % i) 263 idx = dbdef.get("Base%03d" % i)
264 if idx: 264 if idx:
265 print("== Base%03d ==" % i) 265 print("== Base%03d ==" % i)