Skip to content

Commit

Permalink
Hexlet#180 issues
Browse files Browse the repository at this point in the history
fixed test crash
  • Loading branch information
sch0nik committed Mar 27, 2023
2 parents 46a5edf + d86e532 commit 8001708
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contributors/views/contributor.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def get_context_data(self, **kwargs):
context['current_contributor'] = self.object
if self.request.GET.get('compare') == 'yes':
current_user = self.request.user.contributor
context['my_contributions_for_year'] = (
context['my_contributions_forbnjukfdr_year'] = (
current_user.contribution_set.for_year()
)

Expand Down

0 comments on commit 8001708

Please sign in to comment.