Skip to content

Commit

Permalink
fix(get_court_by_paren): try with an exact match
Browse files Browse the repository at this point in the history
  • Loading branch information
quevon24 committed Dec 11, 2024
1 parent deac1a7 commit 33c997c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion eyecite/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ def get_court_by_paren(paren_string: str) -> Optional[str]:
if s == court_str:
return court["id"]

# If no exact match, try to record a startswith match for possible eventual return
# If no exact match, try to record a startswith match for possible eventual
# return
if s.startswith(court_str):
court_code = court["id"]

Expand Down

0 comments on commit 33c997c

Please sign in to comment.