]> git.parisson.com Git - teleforma.git/commitdiff
fix encoding
authorGuillaume Pellerin <guillaume.pellerin@parisson.com>
Wed, 5 Feb 2025 09:48:22 +0000 (10:48 +0100)
committerGuillaume Pellerin <guillaume.pellerin@parisson.com>
Wed, 5 Feb 2025 09:48:22 +0000 (10:48 +0100)
teleforma/webclass/models.py

index da2c0d8d97528d7abae3d72c109467cde8287931..04318647c2e91a19fbc00d2f3b50c96144be1770 100644 (file)
@@ -295,7 +295,7 @@ class WebclassSlot(models.Model):
                     'moderatorPW': self.room_password,
                     'attendeePW': "PWATTENDEE",
                     # 'maxParticipants':self.webclass_max_participants + 1,
-                    'welcome': "Pré-Barreau CRFPA %d - Bienvenue sur la webclass \"%s\"." % (year, self.webclass.course.title,),
+                    'welcome': "Pré-Barreau CRFPA %d - Bienvenue sur la webclass \"%s\"." % (year, self.webclass.course.title.encode('UTF-8'),),
                     'record': True,
                     # 'autoStartRecording':True,
                     'muteOnStart': True,