]> git.parisson.com Git - teleforma.git/commitdiff
test
authorGuillaume Pellerin <yomguy@parisson.com>
Sun, 3 Aug 2014 23:15:37 +0000 (01:15 +0200)
committerGuillaume Pellerin <yomguy@parisson.com>
Sun, 3 Aug 2014 23:15:37 +0000 (01:15 +0200)
teleforma/exam/models.py

index 8bcb25b1ee36e4e5616bfe5724520af495fc43d1..cce4898e65b212c2044153b6bd3ef83bb8bc555e 100644 (file)
@@ -362,6 +362,7 @@ class Script(BaseResource):
             return
 
         mime_type = mimetype_file(self.file.path)
+        print mime_type
         if not 'pdf' in mime_type:
             self.auto_reject('wrong format')
             return