]> git.parisson.com Git - teleforma.git/commitdiff
print earlier
authorGuillaume Pellerin <yomguy@parisson.com>
Thu, 25 Dec 2014 21:28:22 +0000 (22:28 +0100)
committerGuillaume Pellerin <yomguy@parisson.com>
Thu, 25 Dec 2014 21:28:22 +0000 (22:28 +0100)
teleforma/management/commands/teleforma-import-seminar-media-update.py

index f55e6bf4548254fb95e6842c22724a05e1923823..6024e30c8bb3778d6b1b535734a1601ada3869ce 100644 (file)
@@ -126,6 +126,7 @@ class Command(BaseCommand):
                 if ext in self.original_format and not 'preview' in root_list \
                             and not 'preview' in filename and not 'Preview' in filename and filename[0] != '.':
 
+                    print root + os.sep + filename
                     # seminar_rank <= 9
                     seminar_rank = int(root_list[-1][0])
 
@@ -162,7 +163,6 @@ class Command(BaseCommand):
                     for media in seminar.medias.all():
                         seminar.medias.remove(media)
 
-                    print root + os.sep + filename
                     logger.logger.info(seminar.public_url())
                     logger.logger.info(path)
                     if not seminar in seminars: