mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2026-09-29 00:32:06 +08:00
Update update_picture.py
对于temp/temp的错误路径,减少了一个temp TEMP_PATH 已经指向了一个temp了
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user