Skip to content

Commit

Permalink
Fix deprecated sync use of async_timeout (#412)
Browse files Browse the repository at this point in the history
  • Loading branch information
frenck authored Nov 12, 2021
1 parent 1d1d90a commit 5e663db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/elgato/elgato.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ async def _request(
self._close_session = True

try:
with async_timeout.timeout(self.request_timeout):
async with async_timeout.timeout(self.request_timeout):
response = await self.session.request(
method,
url,
Expand Down

0 comments on commit 5e663db

Please sign in to comment.