Skip to content

Commit

Permalink
issue #3250
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel authored and Daniel committed Sep 8, 2016
1 parent 1af5d4c commit b3d2db4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion homeassistant/components/media_player/denon.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def update(self):
"""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?')
Expand Down

0 comments on commit b3d2db4

Please sign in to comment.