From 3a6c3a6c64a252c04e3a8f6795b510adfdcc98cd Mon Sep 17 00:00:00 2001 From: xtaodada Date: Tue, 29 Aug 2023 13:57:09 +0800 Subject: [PATCH] fix: station equipment name --- res_func/light_cone.py | 1 + 1 file changed, 1 insertion(+) diff --git a/res_func/light_cone.py b/res_func/light_cone.py index dba673f..c36988e 100644 --- a/res_func/light_cone.py +++ b/res_func/light_cone.py @@ -19,6 +19,7 @@ async def parse_station(icon: LightConeIcon, tag: Tag): second_pic = f'{base_station_url}{soup.find("img", {"class": "a2b16 mobile-only-elem ab8c3"}).get("src")}' icon.icon = [first_pic, second_pic] if light_cone_model := all_light_cones_map.get(icon.id): + icon.name = light_cone_model.name light_cone_model.icon = first_pic light_cone_model.big_pic = second_pic else: