From acf6e7ead34593eb39abcde25af1656878d50317 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wuyi=E6=97=A0=E7=96=91?= <444835641@qq.com> Date: Thu, 7 Apr 2022 10:21:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=93=AA=E9=87=8C=E5=A4=9A=E5=87=BA=E6=9D=A5?= =?UTF-8?q?=E7=9A=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mihoyo_libs/get_image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mihoyo_libs/get_image.py b/mihoyo_libs/get_image.py index ef9018b1..1eb74626 100644 --- a/mihoyo_libs/get_image.py +++ b/mihoyo_libs/get_image.py @@ -1227,7 +1227,7 @@ async def draw_pic(uid: str, nickname: str, image: Optional[Match] = None, mode: # 稻妻 if inazuma: - text_draw.text((750, 588), str(inazuma:['exploration_percentage'] / 10) + '%', text_color, + text_draw.text((750, 588), str(inazuma['exploration_percentage'] / 10) + '%', text_color, genshin_font(22)) text_draw.text((750, 616), 'lv.' + str(inazuma['level']), text_color, genshin_font(22)) text_draw.text((750, 644), 'lv.' + str(inazuma['offerings'][0]['level']), text_color,