Skip to content

Commit

Permalink
Merge pull request #4626 from freelawproject/4589-log-page-count
Browse files Browse the repository at this point in the history
debug(pacer): Put page_count in a variable
  • Loading branch information
mlissner authored Oct 25, 2024
2 parents 767d836 + 84cbb39 commit ff9adc4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cl/custom_filters/templatetags/pacer.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ def price(rd: RECAPDocument) -> str:
return "0.00"

if rd.page_count:
page_count = rd.page_count # Create a variable for Sentry debugging
cost = rd.page_count * 0.10
return f"{min(3, cost):.2f}"
return ""

0 comments on commit ff9adc4

Please sign in to comment.