forked from mirrors/bookwyrm
Python formatting
This commit is contained in:
parent
535ff5e6d8
commit
12fb969821
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ class Goal(View):
|
||||||
|
|
||||||
current_year = timezone.now().year
|
current_year = timezone.now().year
|
||||||
if not goal and 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):
|
if goal and not goal.visible_to_user(request.user):
|
||||||
return HttpResponseNotFound()
|
return HttpResponseNotFound()
|
||||||
|
|
Loading…
Reference in a new issue