]> git.parisson.com Git - teleforma.git/commitdiff
fix import path
authorGuillaume Pellerin <guillaume.pellerin@parisson.com>
Mon, 22 Jun 2026 12:43:34 +0000 (14:43 +0200)
committerGuillaume Pellerin <guillaume.pellerin@parisson.com>
Mon, 22 Jun 2026 12:43:34 +0000 (14:43 +0200)
teleforma/management/commands/teleforma-import-conferences-4.py

index baa910fb9b8a78ea02943440308ad88ee3e58dab..67a54cc375269748171d8d299d3d1ffe6043732f 100644 (file)
@@ -62,7 +62,8 @@ class Command(BaseCommand):
                 str(conference.date_begin.year),
                 self.spacer.join([
                     conference.course.code,
-                    str(conference.course_type)]),
+                    "-".join(str(conference.course_type).split(" "))
+                    ]),
                 conference.public_id])
 
             if (os.path.exists(conf_dir) and not conference.media.all()):