Skip to content

Commit

Permalink
Drop loop kwarg from async_timeout.timeout (#2260)
Browse files Browse the repository at this point in the history
  • Loading branch information
bdraco authored Nov 4, 2021
1 parent 3df9123 commit e76832d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/hacs/helpers/functions/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ async def async_download_file(url):

result = None

with async_timeout.timeout(60, loop=hacs.hass.loop):
with async_timeout.timeout(60):
request = await hacs.session.get(url)

# Make sure that we got a valid result
Expand Down

0 comments on commit e76832d

Please sign in to comment.