]> git.parisson.com Git - teleforma.git/commitdiff
bugfix
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Mon, 25 Jan 2021 17:01:35 +0000 (18:01 +0100)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Mon, 25 Jan 2021 17:01:35 +0000 (18:01 +0100)
teleforma/management/commands/teleforma-pull-courses.py

index 84561fd1355958095222e9a895cdd5c6fad40c0f..9c33fff94847ca4bfd907896f1200a4707aa0657 100644 (file)
@@ -22,5 +22,5 @@ class Command(BaseCommand):
         view.pull(organization_name)
 
         for course_type in CourseType.objects.all():
-            if 'é' in course_type.name:
+            if 'supp' in course_type.name:
                 course_type.delete()