From 9c6971ca7c5c23a88b78ca826cc7d2799415d279 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Wed, 29 Jun 2022 23:51:54 +0200 Subject: [PATCH] fix exception in publish command --- .../management/commands/teleforma-publish-notify-conferences.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5