]> git.parisson.com Git - teleforma.git/commitdiff
fix seminar cleanup
authorGuillaume Pellerin <yomguy@parisson.com>
Tue, 31 Dec 2013 10:52:51 +0000 (11:52 +0100)
committerGuillaume Pellerin <yomguy@parisson.com>
Tue, 31 Dec 2013 10:52:51 +0000 (11:52 +0100)
teleforma/management/commands/teleforma-import-seminar-media.py

index b4fedbddbd8660657648030131f5086e48c82b8a..38d59b6fe8e5b2a0ef10737873f4836642fc4ec1 100644 (file)
@@ -148,7 +148,7 @@ class Command(BaseCommand):
                         seminar.title = course.title
                         seminar.save()
                     else:
-                        if rank:
+                        if not rank:
                             self.seminar_media_cleanup(seminar)
 
                     exist = False