From 8bcb2e9f570d3ee4a84884e5907b03e37a0b8389 Mon Sep 17 00:00:00 2001 From: itsme Date: Wed, 7 Jul 2021 18:26:09 +0200 Subject: Base nr starts at 0 --- crodump.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crodump.py b/crodump.py index 868a4be..8d69df9 100644 --- a/crodump.py +++ b/crodump.py @@ -259,7 +259,7 @@ class Database: dbinfo = self.stru.readrec(1) dbdef = destruct_bank_definition(args, dbinfo) - for i in range(1, 100): + for i in range(100): idx = dbdef.get("Base%03d" % i) if idx: print("== Base%03d ==" % i) -- cgit v1.2.3