]> git.parisson.com Git - teleforma.git/commitdiff
no debug
authoryomguy <yomguy@parisson.com>
Thu, 19 Jul 2012 17:05:38 +0000 (19:05 +0200)
committeryomguy <yomguy@parisson.com>
Thu, 19 Jul 2012 17:05:38 +0000 (19:05 +0200)
example/settings.py
teleforma/management/commands/teleforma-import-conferences.py

index a8fb63659f8851effd382c76f5f2417cd7370ad8..54ef65db096412c4c7bff8d5e0bd0b9ececb5aee 100644 (file)
@@ -188,5 +188,5 @@ POSTMAN_AUTO_MODERATE_AS = True
 TELECASTER_CONF = [{'type':'mp3','server_type':'icecast','conf':'/etc/telecaster/deefuzzer_mp3.xml', 'port':'8000'},
                    {'type':'webm','server_type':'stream-m','conf':'/etc/telecaster/deefuzzer_webm.xml', 'port':'8080'}, ]
 
-TELECASTER_RSYNC_SERVER = 'telecaster@jimi.parisson.com:archives/'+TELEMETA_ORGANIZATION+'/'
+TELECASTER_RSYNC_SERVER = 'telecaster@jimi.parisson.com:archives/'
 TELECASTER_RSYNC_LOG = '/var/log/telecaster/rsync.log'
index f97281d5e7802ae17479e378c1cc227e0a8688a5..fed30688bc3e80fea1e06549b341b0984e266baf 100644 (file)
@@ -52,7 +52,7 @@ class Command(BaseCommand):
         all_conferences = Conference.objects.all()
         i = 1
 
-        self.cleanup()
+        #self.cleanup()
 
         for root, dirs, files in os.walk(self.media_dir):
             for filename in files:
@@ -79,7 +79,6 @@ class Command(BaseCommand):
                     medias = conference.media.all()
                     for media in medias:
                         if media.item.file == path:
-                            print path
                             exist = True
                             break