summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/python/python.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/python/python.py b/plugins/python/python.py
index 30694802..7bd327e3 100644
--- a/plugins/python/python.py
+++ b/plugins/python/python.py
@@ -198,7 +198,7 @@ else:
# There can be empty entries between non-empty ones so find the actual last value
def wordlist_len(words):
- for i in range(31, 1, -1):
+ for i in range(31, 0, -1):
if ffi.string(words[i]):
return i