diff --git a/judge/views/contests.py b/judge/views/contests.py index 51e9297..0e71646 100644 --- a/judge/views/contests.py +++ b/judge/views/contests.py @@ -1018,7 +1018,7 @@ def base_contest_ranking_list(contest, problems, queryset, show_final=False): def contest_ranking_list(contest, problems, queryset=None, show_final=False): - if not queryset: + if queryset is None: queryset = contest.users.filter(virtual=0) if not show_final: diff --git a/templates/blog/content.html b/templates/blog/content.html index ac89ca4..8171d28 100644 --- a/templates/blog/content.html +++ b/templates/blog/content.html @@ -5,7 +5,7 @@ {% with authors=post.get_authors() %} {%- if authors -%} - + {%- endif -%} diff --git a/templates/chat/message.html b/templates/chat/message.html index 7068af1..a253fab 100644 --- a/templates/chat/message.html +++ b/templates/chat/message.html @@ -1,6 +1,6 @@