From 135ba1834aa09f274e3b2c8446faaa2c272aad5d Mon Sep 17 00:00:00 2001 From: baiqwerdvd <158065462+baiqwerdvd@users.noreply.github.com> Date: Sun, 26 May 2024 23:27:33 +0800 Subject: [PATCH] use lower --- ArknightsUID/arknightsuid_charsnapshot/get_char_snapshot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArknightsUID/arknightsuid_charsnapshot/get_char_snapshot.py b/ArknightsUID/arknightsuid_charsnapshot/get_char_snapshot.py index d4bd90a..065c2d2 100644 --- a/ArknightsUID/arknightsuid_charsnapshot/get_char_snapshot.py +++ b/ArknightsUID/arknightsuid_charsnapshot/get_char_snapshot.py @@ -345,7 +345,7 @@ def draw_char( if equip_type_icon == "original": continue equip_img = Image.open( - TEXT_PATH / "ui_equip_type_direction_hub_h2" / f"{equip_type_icon}.png" + TEXT_PATH / "ui_equip_type_direction_hub_h2" / f"{equip_type_icon.lower()}.png" ).resize((92, 68)) if test_char.defaultEquipId == equip_id.id_: bar_img.paste(equip_selected, (626 + 67 * i, 31), mask=equip_selected)