diff --git a/course/utils.py b/course/utils.py index baa1b6cb614c9838e2533491fa6f030d75f20fff..18403204ecaacc101837edd6061c5eab5ec60600 100644 --- a/course/utils.py +++ b/course/utils.py @@ -1087,6 +1087,7 @@ def will_use_masked_profile_for_email(recipient_email): return False if not isinstance(recipient_email, list): recipient_email = [recipient_email] + from course.models import Participation # noqa recepient_participations = ( Participation.objects.filter( user__email__in=recipient_email