Commits

Anonymous committed 3f98b6f

Fixed MIME selection.

Comments (0)

Files changed (1)

tracmath/tracmath.py

 
     # IHTMLPreviewRenderer methods
     def get_quality_ratio(self, mimetype):
-        if mimetype in ('application/tracmath'):
+        if mimetype in ('text/x-tracmath',):
             return 2
         return 0