Replace OSError aliases with OSError (#33655)

This commit is contained in:
Franck Nijhof 2020-04-04 22:09:11 +02:00 committed by GitHub
parent 03cae17992
commit 6f1900c6f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
23 changed files with 35 additions and 42 deletions

View file

@ -82,7 +82,7 @@ def setup(hass, config):
_LOGGER.debug("Ebusd integration setup completed")
return True
except (socket.timeout, socket.error):
except (socket.timeout, OSError):
return False