Skip to content

Commit 198d92f

Browse files
Fix deprecation bug #2451
1 parent 1a685d5 commit 198d92f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

telebot/asyncio_helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def __init__(self) -> None:
3737
async def create_session(self):
3838
self.session = aiohttp.ClientSession(connector=aiohttp.TCPConnector(
3939
limit=REQUEST_LIMIT,
40-
ssl_context=self.ssl_context
40+
ssl=self.ssl_context
4141
))
4242
return self.session
4343

0 commit comments

Comments
 (0)