Update __init__.py

This commit is contained in:
HibiKier 2021-08-13 21:41:18 +08:00 committed by GitHub
parent bf9176ccdb
commit 3c6a365718
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,7 +52,7 @@ async def _(bot: Bot, event: MessageEvent, state: T_State):
@upload_img.got("path", prompt="要将图片上传至什么图库呢?")
@upload_img.got("imgs", prompt="图呢图呢图呢图呢GKD")
async def _(bot: Bot, event: MessageEvent, state: T_State):
path = IMAGE_PATH + cn2py(state["path"])
path = IMAGE_PATH + cn2py(state["path"]) + '/'
img_list = state["imgs"]
img_id = len(os.listdir(path))
failed_list = []