Skip to content

Commit 33c997c

Browse files
committed
fix(get_court_by_paren): try with an exact match
1 parent deac1a7 commit 33c997c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

eyecite/helpers.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ def get_court_by_paren(paren_string: str) -> Optional[str]:
5555
if s == court_str:
5656
return court["id"]
5757

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

0 commit comments

Comments
 (0)