mirror of
https://github.com/baiqwerdvd/StarRailUID.git
synced 2025-05-05 19:23:45 +08:00
🚨 pre-commit-ci
修复格式错误
This commit is contained in:
parent
14d83c22e9
commit
e6a02824ac
@ -168,7 +168,7 @@ class LocustRecordInfo(Struct):
|
|||||||
start_h: Union[int, None] = None
|
start_h: Union[int, None] = None
|
||||||
|
|
||||||
# def __setitem__(self, key: str, value: Any) -> None:
|
# def __setitem__(self, key: str, value: Any) -> None:
|
||||||
# self.__dict__[key] = value
|
# self.__dict__[key] = value
|
||||||
|
|
||||||
|
|
||||||
class LocustRecord(Struct):
|
class LocustRecord(Struct):
|
||||||
|
@ -22,7 +22,9 @@ gacha_type_meta_data = {
|
|||||||
async def get_new_gachalog_by_link(
|
async def get_new_gachalog_by_link(
|
||||||
uid: str, gacha_url: str, full_data: Dict, is_force: bool
|
uid: str, gacha_url: str, full_data: Dict, is_force: bool
|
||||||
):
|
):
|
||||||
full_data = msgspec.convert(full_data, type=Dict[str, List[SingleGachaLog]])
|
full_data = msgspec.convert(
|
||||||
|
full_data, type=Dict[str, List[SingleGachaLog]]
|
||||||
|
)
|
||||||
temp = []
|
temp = []
|
||||||
for gacha_name in gacha_type_meta_data:
|
for gacha_name in gacha_type_meta_data:
|
||||||
for gacha_type in gacha_type_meta_data[gacha_name]:
|
for gacha_type in gacha_type_meta_data[gacha_name]:
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
import math
|
import math
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from typing import List, Union, Optional
|
from typing import List, Union, Optional
|
||||||
|
|
||||||
from PIL import Image, ImageDraw
|
from PIL import Image, ImageDraw
|
||||||
from gsuid_core.logger import logger
|
from gsuid_core.logger import logger
|
||||||
from gsuid_core.utils.error_reply import get_error
|
from gsuid_core.utils.error_reply import get_error
|
||||||
|
Loading…
x
Reference in New Issue
Block a user