From: yomguy Date: Thu, 19 Jul 2012 17:05:38 +0000 (+0200) Subject: no debug X-Git-Tag: 0.7-dev^2~15 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=2652287a555fea24f31270b121b8bf6ca7758b1d;p=teleforma.git no debug --- diff --git a/example/settings.py b/example/settings.py index a8fb6365..54ef65db 100644 --- a/example/settings.py +++ b/example/settings.py @@ -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' diff --git a/teleforma/management/commands/teleforma-import-conferences.py b/teleforma/management/commands/teleforma-import-conferences.py index f97281d5..fed30688 100644 --- a/teleforma/management/commands/teleforma-import-conferences.py +++ b/teleforma/management/commands/teleforma-import-conferences.py @@ -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