Update update_picture.py

对于temp/temp的错误路径,减少了一个temp
TEMP_PATH 已经指向了一个temp了
This commit is contained in:
mmmjie 2022-06-10 00:37:18 +08:00 committed by GitHub
parent e764cfcc1c
commit 7d5a82ab6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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))