From 33c997c11673622b22d80a6cf21e8b105c485034 Mon Sep 17 00:00:00 2001 From: Kevin Ramirez Date: Wed, 11 Dec 2024 11:37:47 -0600 Subject: [PATCH] fix(get_court_by_paren): try with an exact match --- eyecite/helpers.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/eyecite/helpers.py b/eyecite/helpers.py index 3dcdb97..963ca6b 100644 --- a/eyecite/helpers.py +++ b/eyecite/helpers.py @@ -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"]