mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2025-12-15 06:12:53 +08:00
Update update_picture.py
对于temp/temp的错误路径,减少了一个temp TEMP_PATH 已经指向了一个temp了
This commit is contained in:
parent
e764cfcc1c
commit
7d5a82ab6d
@ -232,7 +232,7 @@ async def _(
|
||||
result += image(b64=pic2b64(img))
|
||||
if method in ["模糊效果", "6"]:
|
||||
for i in range(index):
|
||||
img = Image.open(TEMP_PATH / f"temp/{event.user_id}_{i}_update.png").filter(
|
||||
img = Image.open(TEMP_PATH / f"{event.user_id}_{i}_update.png").filter(
|
||||
ImageFilter.BLUR
|
||||
)
|
||||
result += image(b64=pic2b64(img))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user