issue #3250
This commit is contained in:
Daniel Høyer Iversen 2016-09-09 09:33:26 +02:00 committed by GitHub
commit 3411c4c7c3

View File

@ -72,7 +72,7 @@ class DenonDevice(MediaPlayerDevice):
"""Get the latest details from the device."""
try:
telnet = telnetlib.Telnet(self._host)
except (ConnectionRefusedError, OSError):
except OSError:
return False
self._pwstate = self.telnet_request(telnet, 'PW?')