Queer European MD passionate about IT
Browse Source

Remove asyncio.sleep call

Davte 5 years ago
parent
commit
02a6de8676
2 changed files with 1 additions and 2 deletions
  1. 1 1
      ciclopibot/__init__.py
  2. 0 1
      ciclopibot/ciclopi.py

+ 1 - 1
ciclopibot/__init__.py

@@ -3,6 +3,6 @@
 __author__ = "Davide Testa"
 __email__ = "davide@davte.it"
 __license__ = "GNU General Public License v3.0"
-__version__ = "1.1.2"
+__version__ = "1.1.3"
 __maintainer__ = "Davide Testa"
 __contact__ = "t.me/davte"

+ 0 - 1
ciclopibot/ciclopi.py

@@ -579,7 +579,6 @@ async def _ciclopi_command(bot, update, user_record, sent_message=None,
             )
         )
     )
-    await asyncio.sleep(3)
     ciclopi_data = await ciclopi_webpage.get_page()
     if ciclopi_data is None or isinstance(ciclopi_data, Exception):
         text = bot.get_message(