summary refs log tree commit diff stats
path: root/plugins/python
diff options
context:
space:
mode:
authorSoniEx2 <endermoneymod@gmail.com>2021-05-29 23:39:25 -0300
committerSoniEx2 <endermoneymod@gmail.com>2021-05-29 23:39:25 -0300
commite2cfba040e26927b94a4e311a0a61365a81a41b1 (patch)
treed66f3c0524d6e541803858cf416bd033f7f415c4 /plugins/python
parent5571d277b93b62c73568b78c652c85b2e8e95183 (diff)
parent734d888210dc2863fbcd37c408102460476623bb (diff)
Merge upstream changes
Diffstat (limited to 'plugins/python')
-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