From: Guillaume Pellerin Date: Wed, 29 Jun 2022 21:51:54 +0000 (+0200) Subject: fix exception in publish command X-Git-Tag: 2.7.1~20 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=9c6971ca7c5c23a88b78ca826cc7d2799415d279;p=teleforma.git fix exception in publish command --- diff --git a/teleforma/management/commands/teleforma-publish-notify-conferences.py b/teleforma/management/commands/teleforma-publish-notify-conferences.py index 464ef8a6..4b9aafda 100644 --- a/teleforma/management/commands/teleforma-publish-notify-conferences.py +++ b/teleforma/management/commands/teleforma-publish-notify-conferences.py @@ -75,7 +75,7 @@ class Command(BaseCommand): notify(student.user, message, url) logger.logger.info("Student notified: " + student.user.username) except: - logger.logger.info("Student NOT notified: " + student.user.username) + logger.logger.info("Student NOT notified: " + str(student.id)) continue conference.notified = True