小问题

This commit is contained in:
EillesWan 2024-10-21 23:16:46 +08:00
parent 886213f38d
commit eaefd4b9fe
2 changed files with 6 additions and 6 deletions

View File

@ -505,7 +505,7 @@ async def _(
def go_chk_point() -> bool:
res, pnt = query_convert_points(
usr_id,
"music",
"structure",
random.random() % 0.4 + 0.1,
)
if not res:
@ -576,7 +576,7 @@ async def _(
fp := str(
(
temporary_dir
/ (fn := "msctr[{}]-{}.zip".format(hanzi_timeid(), usr_id))
/ (fn := "struct[{}]-{}.zip".format(hanzi_timeid(), usr_id))
).resolve()
),
)
@ -639,10 +639,10 @@ async def _(
"转换结束当前剩余转换点数⌊p⌋≈{:.2f}|{}".format(
query_convert_points(
usr_id,
"music",
"structure",
0,
)[1],
configdict["maxPersonConvert"]["music"],
configdict["maxPersonConvert"]["structure"],
)
),
at_sender=True,

View File

@ -95,9 +95,9 @@ else:
"donateSite": "",
"helpPicPath": "https://foruda.gitee.com/images/1685873169584963569/95fe9b0b_9911226.png",
"maxCacheSize": 1048576,
"maxCacheTime": {".mcfunction": 900, ".mid .midi": 1800, ".json": 1800},
"maxCacheTime": {".mcfunction .txt": 900, ".mid .midi": 1800, ".json": 1800},
"maxSingleFileSize": {
".mcfunction": 524288,
".mcfunction .txt": 524288,
".mid .midi": 131072,
".json": 8192,
},