修复:活动列表可能导致的bug

This commit is contained in:
Wuyi无疑 2021-12-26 22:17:34 +08:00
parent 97260c8696
commit d2ab169128

View File

@ -1282,6 +1282,12 @@ async def draw_event_pic():
elif k["subtitle"] in i["name"]:
k["act_begin_time"] = i["act_begin_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"]:
continue