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

index 388a5069909502422c6e4c15e13a4863bcf96ac7..7b60403330a8698f677c4ad11d107c6e43a655be 100644 (file)
@@ -78,7 +78,7 @@ class Command(BaseCommand):
         self.media_dir = media_dir
         file_list = []
         seminars = []
-        
+
         # self.cleanup()
 
         walk = os.walk(self.media_dir, followlinks=True)
@@ -219,4 +219,4 @@ class Command(BaseCommand):
                     seminars.append(seminar)
 
                 for s in seminars:
-                    print 'http://' + site.domain + reverse('teleforma-seminar-detail', kwargs={'pk': s.id})
+                    print 'http://' + self.site.domain + reverse('teleforma-seminar-detail', kwargs={'pk': s.id})