Skip to content

Commit 2a561f2

Browse files
mkovaluafelliott
authored andcommitted
fix bad async with call for py3.13
* Update `async with await aiohttp.request` -> `async with aiohttp.request`
1 parent 1476ce7 commit 2a561f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mfr/core/remote_logging.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ async def _send_to_keen(payload, collection, project_id, write_key, action, doma
113113
settings.KEEN_API_VERSION,
114114
project_id, collection)
115115

116-
async with await aiohttp.request('POST', url, headers=headers, data=serialized) as resp:
116+
async with aiohttp.request('POST', url, headers=headers, data=serialized) as resp:
117117
if resp.status == 201:
118118
logger.info(f'Successfully logged {action} to {collection} collection in {domain} Keen')
119119
else:

0 commit comments

Comments
 (0)