Queer European MD passionate about IT
Pārlūkot izejas kodu

`self.get_me`, not `get_me`

Davte 6 gadi atpakaļ
vecāks
revīzija
228f5103cf
2 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 1 1
      davtelepot/__init__.py
  2. 1 1
      davtelepot/custombot.py

+ 1 - 1
davtelepot/__init__.py

@@ -2,7 +2,7 @@ __author__ = "Davide Testa"
 __email__ = "davte@libero.it"
 __credits__ = "Marco Origlia"
 __license__ = "GNU General Public License v3.0"
-__version__ = "1.3.0"
+__version__ = "1.3.1"
 __maintainer__ = "Davide Testa"
 __contact__ = "t.me/davte"
 

+ 1 - 1
davtelepot/custombot.py

@@ -1658,7 +1658,7 @@ class Bot(telepot.aio.Bot, Gettable):
             awaits preliminary tasks and starts getting updates from telegram.
         If bot can't be got, restarts all bots in 5 minutes.
         """
-        await get_me()
+        await self.get_me()
         for task in self.run_before_loop:
             await task
         self.set_default_keyboard()