异步地删除文件
This commit is contained in:
parent
7643cf2dae
commit
161a689fb4
1 changed files with 1 additions and 1 deletions
|
@ -63,4 +63,4 @@ class RIICReportAnalysis:
|
|||
|
||||
await chain.onebot_reply(Text(output.strip()))
|
||||
|
||||
os.remove(img_path)
|
||||
await loop.run_in_executor(None, functools.partial(os.remove, img_path))
|
||||
|
|
Loading…
Reference in a new issue