Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 10, 2024
1 parent c6df828 commit f23e682
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cl/recap/mergers.py
Original file line number Diff line number Diff line change
Expand Up @@ -1794,7 +1794,11 @@ async def merge_attachment_page_data(

# Missing on some restricted docs (see Juriscraper)
# Attachment 0 may not have page count since it is the main rd.
if "page_count" in attachment and attachment["page_count"] is None and attachment["attachment_number"] != 0:
if (
"page_count" in attachment
and attachment["page_count"] is None
and attachment["attachment_number"] != 0
):
continue

# Appellate entries with attachments don't have a main RD, transform it
Expand Down

0 comments on commit f23e682

Please sign in to comment.