Fix report display for task order with no expiration date

This commit is contained in:
richard-dds
2018-10-01 13:32:01 -04:00
parent 04f3134729
commit 1750c268f7
2 changed files with 16 additions and 6 deletions

View File

@@ -121,7 +121,7 @@ def workspace_reports(workspace_id):
remaining_difference = expiration_date - today
remaining_days = remaining_difference.days
else:
remaining_days = 0
remaining_days = None
return render_template(
"workspaces/reports/index.html",