mirror of
https://github.com/lumapu/ahoy.git
synced 2025-05-01 03:06:21 +02:00
Merge pull request #1025 from Andy-Voigt/main
Fixed index out of bounds
This commit is contained in:
commit
b9fda459cc
1 changed files with 10 additions and 9 deletions
|
@ -154,6 +154,7 @@ class StatusResponse(Response):
|
||||||
while s_exists:
|
while s_exists:
|
||||||
s_exists = False
|
s_exists = False
|
||||||
string_id = len(strings)
|
string_id = len(strings)
|
||||||
|
if string_id < len(self.inv_strings):
|
||||||
string = {}
|
string = {}
|
||||||
string['name'] = self.inv_strings[string_id]['s_name']
|
string['name'] = self.inv_strings[string_id]['s_name']
|
||||||
for key in self.string_keys:
|
for key in self.string_keys:
|
||||||
|
|
Loading…
Add table
Reference in a new issue