From 6afe231c017db84a4bae40804fbe59b1826aaf1b Mon Sep 17 00:00:00 2001 From: gzbender Date: Thu, 11 Oct 2018 17:41:29 +0500 Subject: [PATCH] LIL-694 --- apps/notification/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/notification/tasks.py b/apps/notification/tasks.py index 58e8cb9b..28544d52 100644 --- a/apps/notification/tasks.py +++ b/apps/notification/tasks.py @@ -90,7 +90,7 @@ def sendgrid_update_recipients(): 'last_login': user.last_login and user.last_login.strftime(date_format), 'last_course_purchase': last_course_purchase, 'last_school_purchase': last_school_purchase, - 'gender': {User.NOT_DEFINED: '', User.MALE: 'Мужчина', User.FEMALE: 'Женщина'}[user.gender], + # 'gender': {User.NOT_DEFINED: '', User.MALE: 'Мужчина', User.FEMALE: 'Женщина'}[user.gender] if user.gender else '', 'birthday': user.birthday and user.birthday.strftime(date_format), 'date_joined': user.date_joined.strftime(date_format), })