mirror of
https://github.com/KimigaiiWuyi/GenshinUID.git
synced 2025-06-03 05:59:51 +08:00
修复:活动列表可能导致的bug
This commit is contained in:
parent
97260c8696
commit
d2ab169128
@ -1282,6 +1282,12 @@ async def draw_event_pic():
|
|||||||
elif k["subtitle"] in i["name"]:
|
elif k["subtitle"] in i["name"]:
|
||||||
k["act_begin_time"] = i["act_begin_time"]
|
k["act_begin_time"] = i["act_begin_time"]
|
||||||
k["act_end_time"] = i["act_end_time"]
|
k["act_end_time"] = i["act_end_time"]
|
||||||
|
else:
|
||||||
|
k["act_begin_time"] = "{}-{}-{} {}".format(k["start_time"].split()[0].split("-")[0],
|
||||||
|
k["start_time"].split()[0].split("-")[1],
|
||||||
|
str(int(k["start_time"].split()[0].split("-")[2])+2),
|
||||||
|
"10:00:00(?)")
|
||||||
|
k["act_end_time"] = k["end_time"]
|
||||||
|
|
||||||
if "冒险助力礼包" in k["title"] or "纪行" in k["title"]:
|
if "冒险助力礼包" in k["title"] or "纪行" in k["title"]:
|
||||||
continue
|
continue
|
||||||
|
Loading…
x
Reference in New Issue
Block a user