fixed a log error
This commit is contained in:
1 parent
9bead746e8
commit
0e64711c4f
1 file changed
+1
-1
@@ -98,7 +98,7 @@ class SamsungTheFrame(SmartObject):
|
|||||||
key_press_delay=0)
|
key_press_delay=0)
|
||||||
except (OSError, tv_exceptions.ConnectionFailure, tv_exceptions.ResponseError,
|
except (OSError, tv_exceptions.ConnectionFailure, tv_exceptions.ResponseError,
|
||||||
websocket.WebSocketException) as error:
|
websocket.WebSocketException) as error:
|
||||||
self.log_info(f"Volume {direction} failed: {error}", level="WARNING")
|
self.log_warning(f"Volume {direction} failed: {error}")
|
||||||
# Reconnect on the next press, without replaying a failed command.
|
# Reconnect on the next press, without replaying a failed command.
|
||||||
self.close_volume_connection()
|
self.close_volume_connection()
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user