Skip to content

Commit f3fa9db

Browse files
authored
Merge pull request #1619 from KentShikama/kent-add-order-forms-back
Ensure lower case comparison for locations
2 parents baa81e0 + dd42939 commit f3fa9db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/expungeservice/form_filling.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def build_zip(record_summary: RecordSummary, user_information: Dict[str, str]) -
8585
)
8686

8787
# Douglas and Umatilla counties explicitly want the "Order" part of the old forms too.
88-
if case.summary.location in ["douglas", "umatilla"]:
88+
if case.summary.location.lower() in ["douglas", "umatilla"]:
8989
pdf_with_warnings = OldFormFilling._build_pdf_for_case(case_without_deleted_charges, user_information)
9090
if pdf_with_warnings:
9191
pdf, internal_file_name, warnings = pdf_with_warnings

0 commit comments

Comments
 (0)