Replaces IOError by OSError (#26428)

This commit is contained in:
Franck Nijhof authored and Pascal Vizeli committed 2019-09-04 19:09:24 +02:00
1 parent 4004879ae0
commit 0df1b4c7a1
20 files changed
+24 -24

No files matched your search

+1 -1
View File
@@ -65,7 +65,7 @@ def setup(hass, base_config):
srv_info,
)
return False
except IOError:
except OSError:
_LOGGER.exception(
"Server: %s not configured. Error on Supla API access: ", server_address
)