Replace OSError aliases with OSError (#33655)
This commit is contained in:
parent
03cae17992
commit
6f1900c6f4
23 changed files with 35 additions and 42 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue