remove unnecessary else

This commit is contained in:
Karl Parks 2024-03-24 15:01:05 -04:00
parent 34466ae7a1
commit 8e19b0d229

View file

@ -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