From 638c11bc1c514f517dd319af50bd2e673e11418a Mon Sep 17 00:00:00 2001 From: xtaodada Date: Sat, 29 Oct 2022 15:40:40 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20gacha=5Flog=5Fexport?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/gacha_log/log.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/gacha_log/log.py b/modules/gacha_log/log.py index d9c7cc0..650b613 100644 --- a/modules/gacha_log/log.py +++ b/modules/gacha_log/log.py @@ -141,7 +141,7 @@ class GachaLog: uigf_gacha_type=item.gacha_type, ) ) - await self.save_json(save_path, info.dict()) + await self.save_json(save_path, json.loads(info.json())) return save_path @staticmethod