Skip to content
This repository was archived by the owner on Jan 18, 2023. It is now read-only.

Commit 0030e6a

Browse files
committed
Remove deprecation warning
1 parent 692d632 commit 0030e6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

firststreet/http_util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ async def endpoint_execute(self, endpoints, limit=100):
5252
"""
5353
ssl_ctx = ssl.create_default_context(cafile=certifi.where())
5454

55-
connector = aiohttp.TCPConnector(limit_per_host=limit, ssl_context=ssl_ctx)
55+
connector = aiohttp.TCPConnector(limit_per_host=limit, ssl=ssl_ctx)
5656
session = aiohttp.ClientSession(connector=connector)
5757

5858
try:

0 commit comments

Comments
 (0)