Skip to content

Commit ff20470

Browse files
committed
Fix async_timeout deprecation warning.
1 parent 2014fe2 commit ff20470

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/adguardhome/adguardhome.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ async def request(
132132
self._close_session = True
133133

134134
try:
135-
with async_timeout.timeout(self.request_timeout):
135+
async with async_timeout.timeout(self.request_timeout):
136136
response = await self._session.request(
137137
method,
138138
url,

0 commit comments

Comments
 (0)