From 5d155b896c8cfb10728cb9eff935973281460e36 Mon Sep 17 00:00:00 2001 From: Stark Programmer <88478059+StarkBotsIndustries@users.noreply.github.com> Date: Thu, 10 Feb 2022 06:52:43 +0530 Subject: [PATCH] Add missing await keyword (#898) --- pyrogram/session/auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyrogram/session/auth.py b/pyrogram/session/auth.py index d4083b21..f33ffba9 100644 --- a/pyrogram/session/auth.py +++ b/pyrogram/session/auth.py @@ -258,4 +258,4 @@ class Auth: else: return auth_key finally: - self.connection.close() + await self.connection.close()