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:
parent
7a5ab4bffa
commit
1c225776c9
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user