Skip to content

Commit

Permalink
PEP8 double aggressive W291 ~ W293 and W391
Browse files Browse the repository at this point in the history
  • Loading branch information
openvix-bot committed Mar 1, 2024
1 parent 837c85c commit da22170
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/python/Components/HdmiCec.py
Original file line number Diff line number Diff line change
Expand Up @@ -725,17 +725,17 @@ def debugTx(self, msgaddress, cmd, data):
def debugRx(self, length, cmd, ctrl0):
txt = self.now()
if cmd == 0 and length == 0:
txt += "<Polling Message> -"
txt += "<Polling Message> -"
else:

if cmd == 0:
txt += "<Feature Abort>" + 13 * " " + "< " + f"{cmd:02X}" + " "
else:
txt += self.opCode(cmd) + f" {cmd:02X} "
if cmd == 0x9e and ctrl0 < len(CEC):
txt += f"{ctrl0:02X}" + 3 * " " + f"[version: {CEC[ctrl0]}]"
else:
txt += f"{ctrl0:02X}"
txt += f"{ctrl0:02X}"
txt += "\n"
self.fdebug(txt)

Expand Down

0 comments on commit da22170

Please sign in to comment.