Run that formatter jawn

This commit is contained in:
Patrick Smith
2018-09-05 17:31:32 -04:00
parent 5abd592f78
commit d6da217e08
2 changed files with 7 additions and 24 deletions

View File

@@ -75,14 +75,13 @@ def workspace_reports(workspace_id):
):
raise UnauthorizedError(g.current_user, "view workspace reports")
alternate_reports = http_request.args.get('alternate')
month = http_request.args.get('month', 3)
year = http_request.args.get('year', 2019)
alternate_reports = http_request.args.get("alternate")
month = http_request.args.get("month", 3)
year = http_request.args.get("year", 2019)
current_month = date(int(year), int(month), 15)
prev_month = current_month - timedelta(days=28)
two_months_ago = prev_month - timedelta(days=28)
return render_template(
"workspace_reports.html",
workspace_totals=Reports.workspace_totals(alternate_reports),