Skip to content

Commit

Permalink
Auto Index Update: 21/01/2025
Browse files Browse the repository at this point in the history
  • Loading branch information
MizaGBF committed Jan 21, 2025
1 parent c2ea170 commit a72108f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions updater.py
Original file line number Diff line number Diff line change
Expand Up @@ -1345,7 +1345,7 @@ async def artCheck(self : Updater, element_id : str, style : str, uncaps : list[
if element_id.startswith("38"):
uncaps = ["01", "02", "03", "04"]
else:
uncaps = uncaps + ["81", "82", "83", "91", "92", "93"]
uncaps = uncaps + ["81", "82", "83", "84", "85"] + (["86", "87", "88", "89"] if element_id == "3030280000" else []) + ["91", "92", "93", "94"]
async with asyncio.TaskGroup() as tg: # not pretty but we use a taskgroup to speed things here
for uncap in uncaps:
for g in ["_1", ""]:
Expand Down Expand Up @@ -2248,7 +2248,6 @@ async def update_scene_end(self : Updater, ts : TaskStatus, index : str, element
# wait previous tasks completion
while not ts.finished:
await asyncio.sleep(1)
file_id : str = self.data['npc_replace'].get(element_id, element_id)
# check if the data has new strings
if len(existing) > len(self.data[index][element_id][idx]):
self.data[index][element_id][idx] = list(existing) # set it
Expand Down

0 comments on commit a72108f

Please sign in to comment.