summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/chewingkey.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/chewingkey.py b/scripts/chewingkey.py
index ced3d1b..c0db5d3 100644
--- a/scripts/chewingkey.py
+++ b/scripts/chewingkey.py
@@ -136,7 +136,7 @@ def gen_table_index(content_table):
chewingkey = 'ChewingKey({0}, {1}, {2})'.format(initial, middle, final)
index = -1
try:
- index = [x[2] for x in content_table].index(chewingkey)
+ index = [x[4] for x in content_table].index(chewingkey)
except ValueError:
pass