]> git.parisson.com Git - teleforma.git/commitdiff
fix uppercases
authorGuillaume Pellerin <yomguy@parisson.com>
Mon, 30 Dec 2013 12:48:52 +0000 (13:48 +0100)
committerGuillaume Pellerin <yomguy@parisson.com>
Mon, 30 Dec 2013 12:48:52 +0000 (13:48 +0100)
teleforma/management/commands/teleforma-import-seminar-media.py

index 9eac597a0a6812686606b897f0fd0c6655d9f6bd..1be2c55c6f55505dc4d8899529a5c34be9ff6dda 100644 (file)
@@ -86,7 +86,7 @@ class Command(BaseCommand):
                 root_list = root.split(os.sep)
 
                 if ext in self.original_format and not 'preview' in root_list \
-                            and not 'preview' in filename and filename[0] != '.':
+                            and not 'preview' in filename and not 'Preview' in filename and filename[0] != '.':
 
                     print filename
                     # seminar_rank <= 9