From 7c78076073525264f5a657b9a81077975554847a Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Wed, 1 Dec 2021 11:26:16 +0100 Subject: [PATCH] bugfix --- lib/pdfannotator | 2 +- teleforma/management/commands/teleforma-copy-students.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/pdfannotator b/lib/pdfannotator index c6b95327..ce69eca1 160000 --- a/lib/pdfannotator +++ b/lib/pdfannotator @@ -1 +1 @@ -Subproject commit c6b953270e4e8a7d97853d7a784f8e6df9ed9c53 +Subproject commit ce69eca18a6f5b8774215725fd6b42534f13412f diff --git a/teleforma/management/commands/teleforma-copy-students.py b/teleforma/management/commands/teleforma-copy-students.py index 7c897c0d..f4bae30b 100644 --- a/teleforma/management/commands/teleforma-copy-students.py +++ b/teleforma/management/commands/teleforma-copy-students.py @@ -94,7 +94,7 @@ class Command(BaseCommand): payment_to = payments_to[0] payment_to.online_paid = payment.online_paid payment_to.date_paid = payment.date_paid - payments_to.save() + payment_to.save() self.logger.logger.info('payment updated: ' + student.user.username + \ ', mois:' + str(month) + \ ', date de création:' + str(date_created) + \ -- 2.39.5