Fixed index out of bounds

This commit is contained in:
Andy Voigt 2023-07-13 14:06:05 +02:00
parent dbb352801e
commit 60f2876d9c

View file

@ -154,6 +154,7 @@ class StatusResponse(Response):
while s_exists:
s_exists = False
string_id = len(strings)
if string_id < len(self.inv_strings):
string = {}
string['name'] = self.inv_strings[string_id]['s_name']
for key in self.string_keys: