Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pylgnetcast/pylgnetcast.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ def _display_pair_key(self):

def _send_to_tv(self, message_type, message=None, payload=None):
"""Send message of given type to the tv."""
if message_type != "command" and self.protocol == LG_PROTOCOL.HDCP:
if message_type == "command" and self.protocol == LG_PROTOCOL.HDCP:
message_type = "dtv_wifirc"
url = "%s%s" % (self.url, message_type)
if message:
Expand Down