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.
|
"""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"
|
__author__ = "Davide Testa"
|
||||||
__email__ = "davide@davte.it"
|
__email__ = "davide@davte.it"
|
||||||
__credits__ = ["Marco Origlia", "Nick Lee @Nickoala"]
|
__credits__ = ["Marco Origlia", "Nick Lee @Nickoala"]
|
||||||
__license__ = "GNU General Public License v3.0"
|
__license__ = "GNU General Public License v3.0"
|
||||||
__version__ = "2.1.14"
|
__version__ = "2.1.15"
|
||||||
__maintainer__ = "Davide Testa"
|
__maintainer__ = "Davide Testa"
|
||||||
__contact__ = "t.me/davte"
|
__contact__ = "t.me/davte"
|
||||||
|
|
||||||
|
@ -45,7 +45,7 @@ class TelegramBot(object):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
loop = asyncio.get_event_loop()
|
loop = asyncio.get_event_loop()
|
||||||
app = web.Application(loop=loop)
|
app = web.Application()
|
||||||
sessions_timeouts = {
|
sessions_timeouts = {
|
||||||
'getUpdates': dict(
|
'getUpdates': dict(
|
||||||
timeout=35,
|
timeout=35,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user