fix: add await

This commit is contained in:
XYenon 2022-07-27 21:21:58 +08:00 committed by XYenon
parent 10acc91fdb
commit a1b7f88015

View File

@ -366,7 +366,7 @@ class GoCQHttp(BaseClient):
"context": context, "context": context,
"download_url": context["file"]["url"], "download_url": context["file"]["url"],
} }
self.async_download_file(**param_dict) await self.async_download_file(**param_dict)
asyncio.create_task(_handle_offline_file_upload_msg()) asyncio.create_task(_handle_offline_file_upload_msg())