summaryrefslogtreecommitdiff
path: root/decoders/amulet_ascii/pd.py
diff options
context:
space:
mode:
Diffstat (limited to 'decoders/amulet_ascii/pd.py')
-rw-r--r--decoders/amulet_ascii/pd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/decoders/amulet_ascii/pd.py b/decoders/amulet_ascii/pd.py
index 54733ef..41fbcad 100644
--- a/decoders/amulet_ascii/pd.py
+++ b/decoders/amulet_ascii/pd.py
@@ -53,7 +53,7 @@ class Decoder(srd.Decoder):
annotation_rows = (
('bits', 'Bits', (L + 0,)),
('fields', 'Fields', (L + 1,)),
- ('commands', 'Commands', tuple(range(len(cmds)))),
+ ('commands', 'Commands', tuple(range(L))),
('warnings', 'Warnings', (L + 2,)),
)
options = (