]> git.parisson.com Git - telemeta.git/commitdiff
bugfix
authorGuillaume Pellerin <yomguy@parisson.com>
Mon, 25 Nov 2013 16:57:52 +0000 (17:57 +0100)
committerGuillaume Pellerin <yomguy@parisson.com>
Mon, 25 Nov 2013 16:57:52 +0000 (17:57 +0100)
telemeta/management/commands/telemeta-crem-import.py

index cbee718353bb533d27afeb4461e425e8630b486f..8eacf49516f118d61fa721a7b8ef87ab6b34c217 100644 (file)
@@ -61,10 +61,11 @@ class Command(BaseCommand):
     """
 
     help = "import CREM collections"
-    args = 'options project_dir source_dir pattern log_file domain'
+    args = 'options source_dir pattern log_file'
     admin_email = 'webmaster@parisson.com'
 
-    def write_file(self, item, wa      filename = wav_file.split(os.sep)[-1]
+    def write_file(self, item, wave_file):
+        filename = wav_file.split(os.sep)[-1]
         if os.path.exists(wav_file):
             if (not item.file and not '--no-write' in self.options) or '--overwrite' in self.options:
                 f = open(wav_file, 'r')