Skip to content

Commit

Permalink
Merge pull request #1877 from badrobit/bugfix/unique_id_bug
Browse files Browse the repository at this point in the history
fix(packets): correct dict iteration syntax in Telemetry.identify_packet
  • Loading branch information
jmthomas authored Feb 7, 2025
2 parents 48a3666 + 0066d71 commit 346f416
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openc3/python/openc3/packets/telemetry.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ def identify(self, packet_data, target_names=None):
target = self.system.targets[target_name]
if target and target.tlm_unique_id_mode:
# Iterate through the packets and see if any represent the buffer
for _, packet in target_packets:
for _, packet in target_packets.items():
if packet.identify(packet_data):
return packet
else:
Expand Down

0 comments on commit 346f416

Please sign in to comment.