aiohttp.web.Application does not take a loop argument anymore

This commit is contained in:
Davte 2019-07-19 10:50:29 +02:00
parent 65559814a4
commit e22854c77d
2 changed files with 10 additions and 3 deletions

View File

@ -1,13 +1,20 @@
"""Information about this package.
See custombot.py for information about Bot class.
See `bot.py` for information about Bot class.
```python3.5+
from davtelepot.bot import Bot
help(Bot)
```
Legacy `custombot.py` is kept for backward compatibility but will finally
be deprecated.
"""
__author__ = "Davide Testa"
__email__ = "davide@davte.it"
__credits__ = ["Marco Origlia", "Nick Lee @Nickoala"]
__license__ = "GNU General Public License v3.0"
__version__ = "2.1.14"
__version__ = "2.1.15"
__maintainer__ = "Davide Testa"
__contact__ = "t.me/davte"

View File

@ -45,7 +45,7 @@ class TelegramBot(object):
"""
loop = asyncio.get_event_loop()
app = web.Application(loop=loop)
app = web.Application()
sessions_timeouts = {
'getUpdates': dict(
timeout=35,