Skip to content

Commit

Permalink
(no-ticket) Fix lambda syntax
Browse files Browse the repository at this point in the history
Change-Id: I6c3424193bb0031c7b665f73a89280b5b855e42f
  • Loading branch information
arturpragacz committed Apr 7, 2020
1 parent 1003ceb commit 7720aab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oioioi/problems/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -367,5 +367,5 @@ def filter_my_all_visible_submissions(request, queryset):
if django_11:
result = result.order_by('-date')
else:
result.sort(reverse=True, key=lambda(s): s.date)
result.sort(reverse=True, key=lambda s: s.date)
return result

0 comments on commit 7720aab

Please sign in to comment.