mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-07-21 12:52:08 +08:00
remove null effect assert
This commit is contained in:
@@ -182,7 +182,6 @@ def main() -> NoReturn:
|
||||
if opcode != DIAG_LOG_F:
|
||||
cloudlog.error(f"Unhandled opcode: {opcode}")
|
||||
continue
|
||||
assert opcode == DIAG_LOG_F
|
||||
|
||||
(pending_msgs, log_outer_length), inner_log_packet = unpack_from('<BH', payload), payload[calcsize('<BH'):]
|
||||
if pending_msgs > 0:
|
||||
|
||||
Reference in New Issue
Block a user