Skip to content

Commit

Permalink
more tweaking to preserve reporter no-oping
Browse files Browse the repository at this point in the history
  • Loading branch information
John Tordoff committed Oct 15, 2024
1 parent 94b22c1 commit ed3b1bc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions admin/management/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@ def post(self, request, *args, **kwargs):
monthly_report_date = request.POST.get('monthly_report_date', None)
if monthly_report_date:
report_date = isoparse(monthly_report_date).date()
else:
report_date = None

errors = monthly_reporters_go(
report_month=getattr(report_date, 'month', None),
Expand Down

0 comments on commit ed3b1bc

Please sign in to comment.