remove unnecessary else
This commit is contained in:
parent
34466ae7a1
commit
8e19b0d229
1 changed files with 2 additions and 2 deletions
|
|
@ -56,8 +56,8 @@ while True:
|
|||
print(f"Received ACK: {ack_count}")
|
||||
received_ack_confirmed = True
|
||||
break
|
||||
else:
|
||||
print(f"Received incorrect ACK: {ack_count} should be {count}")
|
||||
|
||||
print(f"Received incorrect ACK: {ack_count} should be {count}")
|
||||
|
||||
if received_ack_confirmed:
|
||||
break
|
||||
|
|
|
|||
Loading…
Reference in a new issue