Queer European MD passionate about IT
Browse Source

Syntax-breaking typo

Davte 1 year ago
parent
commit
21f91fb07c
2 changed files with 2 additions and 2 deletions
  1. 1 1
      davtelepot/__init__.py
  2. 1 1
      davtelepot/api.py

+ 1 - 1
davtelepot/__init__.py

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

+ 1 - 1
davtelepot/api.py

@@ -239,7 +239,7 @@ class TelegramBot:
                     )
                 )
             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:
             session = aiohttp.ClientSession(
                 timeout=aiohttp.ClientTimeout(total=None)