some fixes

This commit is contained in:
Robin Mueller
2022-03-14 15:13:39 +01:00
parent 2251c8cbf4
commit 20fc1ab392
3 changed files with 12 additions and 3 deletions

View File

@ -203,7 +203,7 @@ def pack_pdu1_commands(object_id: bytearray, tc_queue: TcQueueT, op_code: str):
object_id=object_id, action_id=GomspaceDeviceActionIds.PRINT_SWITCH_V_I
)
tc_queue.appendleft(command.pack_command_tuple())
if op_code == GomspaceOpCodes.PRINT_LATCHUPS:
if op_code == GomspaceOpCodes.PRINT_LATCHUPS.value:
tc_queue.appendleft(
(QueueCommands.PRINT, "PDU1: Print Latchups")
)