Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
teovin committed Jul 18, 2024
1 parent 6235a01 commit 4c4f6a3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions web/main/legal_document_sources.py
Original file line number Diff line number Diff line change
@@ -599,8 +599,9 @@ def pull(legal_doc_source, id):
):
case_text = "".join(sub_opinion[content_type] for sub_opinion in sub_opinion_jsons)
if case_text:
case_text = (case_text.replace('<?xml version="1.0" encoding="utf-8"?>', "")
.replace('href="/opinion', f'href="{settings.COURTLISTENER_BASE_URL}/opinion'))
case_text = case_text.replace(
'<?xml version="1.0" encoding="utf-8"?>', ""
).replace('href="/opinion', f'href="{settings.COURTLISTENER_BASE_URL}/opinion')
text_source = content_type
break

0 comments on commit 4c4f6a3

Please sign in to comment.