Skip to content
Snippets Groups Projects
Commit af9fe044 authored by Chris Lamb's avatar Chris Lamb :eyes:
Browse files

Loosen matching of file(1)'s output to ensure we correctly also match TTF files under file 5.32.

parent 97f074f7
No related branches found
No related tags found
No related merge requests found
......@@ -36,7 +36,7 @@ class Showttf(Command):
class TtfFile(File):
FILE_TYPE_RE = re.compile(r'^(TrueType|OpenType) font data$')
FILE_TYPE_RE = re.compile(r'^(TrueType|OpenType) font data', re.IGNORECASE)
def compare_details(self, other, source=None):
return [Difference.from_command(Showttf, self.path, other.path)]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment