Move batchFull down and into mismatch

This commit is contained in:
dazedanon 2025-04-05 19:18:09 -05:00
parent 93837943c4
commit 76b1da7d4d

View file

@ -534,7 +534,6 @@ def searchNames(data, pbar, context):
with open("translations.txt", "a", encoding="utf-8") as file:
file.write(f"\n#{context}\n")
while i < len(data) or filling == True:
batchFull = False
if i < len(data):
# Empty Data
if data[i] is None or data[i]["name"] == "":
@ -747,6 +746,7 @@ def searchNames(data, pbar, context):
nameList.clear()
profileList.clear()
nicknameList.clear()
batchFull = False
filling = False
j += 1
else:
@ -835,6 +835,7 @@ def searchNames(data, pbar, context):
descriptionList.clear()
filling = False
mismatch = False
batchFull = False
i += 1