Move batchFull down and into mismatch
This commit is contained in:
parent
93837943c4
commit
76b1da7d4d
1 changed files with 2 additions and 1 deletions
|
|
@ -534,7 +534,6 @@ def searchNames(data, pbar, context):
|
||||||
with open("translations.txt", "a", encoding="utf-8") as file:
|
with open("translations.txt", "a", encoding="utf-8") as file:
|
||||||
file.write(f"\n#{context}\n")
|
file.write(f"\n#{context}\n")
|
||||||
while i < len(data) or filling == True:
|
while i < len(data) or filling == True:
|
||||||
batchFull = False
|
|
||||||
if i < len(data):
|
if i < len(data):
|
||||||
# Empty Data
|
# Empty Data
|
||||||
if data[i] is None or data[i]["name"] == "":
|
if data[i] is None or data[i]["name"] == "":
|
||||||
|
|
@ -747,6 +746,7 @@ def searchNames(data, pbar, context):
|
||||||
nameList.clear()
|
nameList.clear()
|
||||||
profileList.clear()
|
profileList.clear()
|
||||||
nicknameList.clear()
|
nicknameList.clear()
|
||||||
|
batchFull = False
|
||||||
filling = False
|
filling = False
|
||||||
j += 1
|
j += 1
|
||||||
else:
|
else:
|
||||||
|
|
@ -835,6 +835,7 @@ def searchNames(data, pbar, context):
|
||||||
descriptionList.clear()
|
descriptionList.clear()
|
||||||
filling = False
|
filling = False
|
||||||
mismatch = False
|
mismatch = False
|
||||||
|
batchFull = False
|
||||||
|
|
||||||
i += 1
|
i += 1
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue