Skip to content

Commit

Permalink
Fix async_timeout deprecation warning. (#471)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuxincs committed Jan 31, 2022
1 parent 543e068 commit 37c3432
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/adguardhome/adguardhome.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,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 37c3432

Please sign in to comment.