aiohttp.web.Application
does not take a loop argument anymore
This commit is contained in:
parent
65559814a4
commit
e22854c77d
@ -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"
|
||||
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user