Syntax-breaking typo

This commit is contained in:
Davte 2022-10-12 14:12:39 +02:00
parent 50c2f92e8e
commit 21f91fb07c
Signed by: Davte
GPG Key ID: 70336F92E6814706
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ __author__ = "Davide Testa"
__email__ = "davide@davte.it" __email__ = "davide@davte.it"
__credits__ = ["Marco Origlia", "Nick Lee @Nickoala"] __credits__ = ["Marco Origlia", "Nick Lee @Nickoala"]
__license__ = "GNU General Public License v3.0" __license__ = "GNU General Public License v3.0"
__version__ = "2.8.4" __version__ = "2.8.5"
__maintainer__ = "Davide Testa" __maintainer__ = "Davide Testa"
__contact__ = "t.me/davte" __contact__ = "t.me/davte"

View File

@ -239,7 +239,7 @@ class TelegramBot:
) )
) )
session = self.sessions[api_method] session = self.sessions[api_method]
session_must_be_cl osed = cls.sessions_timeouts[api_method]['close'] session_must_be_closed = cls.sessions_timeouts[api_method]['close']
else: else:
session = aiohttp.ClientSession( session = aiohttp.ClientSession(
timeout=aiohttp.ClientTimeout(total=None) timeout=aiohttp.ClientTimeout(total=None)