Skip to content

Commit

Permalink
Merge pull request #88 from raprek/fix-aiohttp
Browse files Browse the repository at this point in the history
-> fix | run_webhook on aiohttp version >= 3.8
  • Loading branch information
szastupov authored Apr 18, 2024
2 parents 93c480d + c721901 commit 242c0db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion aiotg/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ def run_webhook(self, webhook_url, **options):
for cleanup_action in self._cleanups:
app.on_cleanup.append(cleanup_action)

web.run_app(app, host=host, port=port)
web.run_app(app, host=host, port=port, loop=loop)
else:
loop.run_until_complete(self.session.close())

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ classifiers = [
"Topic :: Software Development :: Libraries",
]
dependencies = [
"aiohttp>=3.0.0",
"aiohttp>=3.8.0",
"watchdog>=0.9.0",
]

Expand Down

0 comments on commit 242c0db

Please sign in to comment.