Fix scope mistake

This commit is contained in:
Erik Sundell
2020-10-27 13:38:34 +01:00
parent 02e5984f34
commit a4a8b3fa2c

View File

@@ -773,8 +773,8 @@ class ConfigurableHTTPProxy(Proxy):
request_timeout=5, # default: 20s
)
async def _wait_for_api_request():
most_recent_error = None
async def _wait_for_api_request():
try:
async with self.semaphore:
return await client.fetch(req)