]> git.parisson.com Git - telemeta.git/commitdiff
fix crem_checker
authorGuillaume Pellerin <yomguy@parisson.com>
Thu, 30 May 2013 08:20:57 +0000 (10:20 +0200)
committerGuillaume Pellerin <yomguy@parisson.com>
Thu, 30 May 2013 08:20:57 +0000 (10:20 +0200)
tools/scripts/crem_checker.py

index e66b6803de53509427812ad42742227ea18595bc..9b5088a0ccbd6a105c4d5d925b5e794d0b3e61f5 100755 (executable)
@@ -230,9 +230,10 @@ class CremCheck:
 
     def check(self):
         for dir in self.dir_list:
+            collection = CremCollection(self.root_dir + dir, self.logger)
             msg = '************************ ' + collection.dir_name + ' ******************************'
             self.logger.write_info(collection.dir, msg[:70])
-            collection = CremCollection(self.root_dir + dir, self.logger)
+
             xls_list = collection.xls_list()
             wav_list = collection.wav_list()