Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Aug 26, 2024
1 parent d026e62 commit 68c11dc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions courses/serializers/v1/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ class BaseCourseRunSerializer(serializers.ModelSerializer):

def get_is_archived(self, instance):
return (
instance.is_enrollable and
instance.enrollment_end is None and
instance.is_past
instance.is_enrollable
and instance.enrollment_end is None
and instance.is_past
)

class Meta:
Expand Down

0 comments on commit 68c11dc

Please sign in to comment.