Skip to content

Commit

Permalink
feat(ny): Add more ny courts
Browse files Browse the repository at this point in the history
  • Loading branch information
flooie committed Dec 29, 2023
1 parent 4c58ad3 commit 42352bf
Show file tree
Hide file tree
Showing 2 changed files with 1,035 additions and 79 deletions.
2 changes: 1 addition & 1 deletion courts_db/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def find_court_ids_by_name(
# Add validation for location if provided.
if location and court_location != location:
continue
if strip_punc(court_str) == strip_punc(court["name"]):
if strip_punc(court_str.lower()) == strip_punc(court["name"].lower()):
matches.append((court_str, court["id"]))

matched_strings = [m[0] for m in matches]
Expand Down
Loading

0 comments on commit 42352bf

Please sign in to comment.