Skip to content

Commit

Permalink
fix: catch rel::id with only id
Browse files Browse the repository at this point in the history
Handle a single entry REL::ID(1) which was getting skipped.
  • Loading branch information
alandtse committed Jun 20, 2024
1 parent 23d1147 commit 768aa8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vr_address_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ async def search_for_ids(
if matches:
for match in matches:
if any(match):
if int(match.get("sse", 0)) < 1:
if int(match.get("sse", 0)) < 1 and int(match.get("id", 0)) < 1:
# ids must be >= 0
continue
if match.get("sse") and match.get("ae"):
Expand Down

0 comments on commit 768aa8f

Please sign in to comment.