From 91f49f52cc4cb6d3d6acc9081fa0cad2c8310e7a Mon Sep 17 00:00:00 2001 From: zaphkito Date: Sat, 2 Mar 2024 22:25:54 +0000 Subject: [PATCH] fix coroutine CardMakerReader.read_*** was never awaited (#105) Reviewed-on: https://gitea.tendokyu.moe/Hay1tsme/artemis/pulls/105 Co-authored-by: zaphkito Co-committed-by: zaphkito --- titles/cm/read.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/titles/cm/read.py b/titles/cm/read.py index ae90b52..0e2c841 100644 --- a/titles/cm/read.py +++ b/titles/cm/read.py @@ -59,10 +59,10 @@ class CardMakerReader(BaseReader): if self.bin_dir is not None: data_dir = self._get_card_maker_directory(self.bin_dir) - self.read_chuni_card(f"{data_dir}/CHU/Data/A000/card") - self.read_chuni_gacha(f"{data_dir}/CHU/Data/A000/gacha") + await self.read_chuni_card(f"{data_dir}/CHU/Data/A000/card") + await self.read_chuni_gacha(f"{data_dir}/CHU/Data/A000/gacha") - self.read_mai2_card(f"{data_dir}/MAI/Data/A000/card") + await self.read_mai2_card(f"{data_dir}/MAI/Data/A000/card") for file, func in static_datas.items(): if os.path.exists(f"{self.bin_dir}/MU3/{file}"): read_csv = getattr(CardMakerReader, func)