]> git.parisson.com Git - teleforma.git/commitdiff
bugfix
authorGuillaume Pellerin <yomguy@parisson.com>
Mon, 30 Dec 2013 13:17:55 +0000 (14:17 +0100)
committerGuillaume Pellerin <yomguy@parisson.com>
Mon, 30 Dec 2013 13:17:55 +0000 (14:17 +0100)
teleforma/management/commands/teleforma-import-seminar-media.py

index 7fe28e21080ee2bde634b1046d95fc2a1695d0dd..e49f9c4373e5a406224f0f78c61f378b17fe0414 100644 (file)
@@ -129,7 +129,9 @@ class Command(BaseCommand):
                             exist = True
                             break
 
-                    seminars.append(seminar)
+                    if not seminar in seminars:
+                        seminars.append(seminar)
+                        
                     if not exist:
                         logger.logger.info(seminar.public_url())
                         logger.logger.info(path)