1
0
mirror of https://github.com/home-assistant/supervisor.git synced 2025-12-24 20:35:55 +00:00
This commit is contained in:
Pascal Vizeli
2018-04-21 22:33:06 +02:00
parent 55c2127baa
commit 28f295a1e2
38 changed files with 386 additions and 337 deletions

View File

@@ -69,7 +69,7 @@ class Updater(JsonConfig, CoreSysAttributes):
try:
_LOGGER.info("Fetch update data from %s", url)
with async_timeout.timeout(10):
async with self._websession.get(url) as request:
async with self.sys_websession.get(url) as request:
data = await request.json(content_type=None)
except (aiohttp.ClientError, asyncio.TimeoutError, KeyError) as err: