From e25d30af52f3f8cde9c7cfcc4295a6bc89fefcd5 Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Mon, 17 Apr 2017 18:54:09 +0200 Subject: [PATCH] fix lint --- hassio/tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hassio/tools.py b/hassio/tools.py index 2c8d44d6d..9b3b9c15f 100644 --- a/hassio/tools.py +++ b/hassio/tools.py @@ -30,7 +30,7 @@ async def fetch_current_versions(websession, beta=False): except (aiohttp.ClientError, asyncio.TimeoutError, KeyError) as err: _LOGGER.warning("Can't fetch versions from %s! %s", url, err) - except json.JSONDecoder as err: + except json.JSONDecodeError as err: _LOGGER.warning("Can't parse versions from %s! %s", url, err)