Skip to content
Snippets Groups Projects
Commit 7e2ae09b authored by dominip89's avatar dominip89 Committed by borzechof99
Browse files

Add Comment for Readability

parent 13026170
No related branches found
No related tags found
No related merge requests found
...@@ -156,7 +156,7 @@ class IncompleteSportSerializer(serializers.BaseSerializer): ...@@ -156,7 +156,7 @@ class IncompleteSportSerializer(serializers.BaseSerializer):
} }
for crit in sport.criteria_ratings.iterator(): for crit in sport.criteria_ratings.iterator():
# Asking this way to save an indentation and for readability. Would also work when asking for = -1 and handling the append then.
if sport.get_rating(crit) != -1: if sport.get_rating(crit) != -1:
continue continue
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment