Skip to content

Commit

Permalink
Merge pull request #59 from bobjacobsen/issue-56-break-in-datagram-loop
Browse files Browse the repository at this point in the history
Look for more than one datagram memo match
  • Loading branch information
bobjacobsen authored Jan 18, 2025
2 parents 41837c4 + e54ec39 commit a5f788c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openlcb/datagramservice.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ def handleLinkRestarted(self, message):
def matchToWriteMemo(self, message):
for memo in self.pendingWriteMemos:
if memo.destID != message.source:
break
continue # keep looking
# remove the found element - might need a try/except on this
index = self.pendingWriteMemos.index(memo)
del self.pendingWriteMemos[index]
Expand Down

0 comments on commit a5f788c

Please sign in to comment.