2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-08-28 12:57:52 +00:00

Removed unnecessary create_task (#706)

This commit is contained in:
Mahesh 2022-04-15 17:25:03 +05:30 committed by GitHub
parent 7a5ab4bffa
commit 1c225776c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -103,7 +103,7 @@ class SaveFile(Scaffold):
return
try:
await self.loop.create_task(session.send(data))
await session.send(data)
except Exception as e:
log.error(e)