mirror of
https://github.com/baiqwerdvd/ArknightsUID.git
synced 2025-05-04 19:17:33 +08:00
fix
This commit is contained in:
parent
c536e20b69
commit
a6b738a0bc
@ -28,6 +28,7 @@ async def get_ann_img(data: BulletinData) -> str | bytes:
|
|||||||
async def process_tag(
|
async def process_tag(
|
||||||
elements: list[dict[str, Any]],
|
elements: list[dict[str, Any]],
|
||||||
point: int,
|
point: int,
|
||||||
|
init_point: int,
|
||||||
tag: element.Tag,
|
tag: element.Tag,
|
||||||
):
|
):
|
||||||
space = 10
|
space = 10
|
||||||
@ -80,7 +81,7 @@ async def process_tag(
|
|||||||
if elements:
|
if elements:
|
||||||
pre_pos = elements[-1]["next_pos"]
|
pre_pos = elements[-1]["next_pos"]
|
||||||
else:
|
else:
|
||||||
pre_pos = 105
|
pre_pos = init_point
|
||||||
elements.append(
|
elements.append(
|
||||||
{
|
{
|
||||||
"type": _type,
|
"type": _type,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user