Skip to content

Commit dc1d9c3

Browse files
committed
fix readme
1 parent b1a1ae3 commit dc1d9c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,8 @@ async def get_proxies():
135135
"method": "get",
136136
}
137137

138-
with aiohttp.ClientSession() as session:
139-
with session.post('http://example.com:55555', json=json_data) as response:
138+
async with aiohttp.ClientSession() as session:
139+
async with session.post('http://example.com:55555', json=json_data) as response:
140140
if response.status == 200:
141141
response = json.loads(await response.text())
142142
for proxy in response['data']:

0 commit comments

Comments
 (0)