Python formatting

This commit is contained in:
Mouse Reeve 2021-08-04 12:40:15 -07:00
parent 535ff5e6d8
commit 12fb969821

View file

@ -29,7 +29,7 @@ class Goal(View):
current_year = timezone.now().year
if not goal and year != timezone.now().year:
return redirect('user-goal', username, current_year)
return redirect("user-goal", username, current_year)
if goal and not goal.visible_to_user(request.user):
return HttpResponseNotFound()