Commit cb1aa1b6 authored by Mattia Rizzolo's avatar Mattia Rizzolo

comparators/icc: rename RE_FILE_EXTENSION to RE_FILE_TYPE, as that's what the RE is looking at

parent 483ec035
......@@ -33,11 +33,11 @@ class Iccdump(Command):
class IccFile(File):
RE_FILE_EXTENSION = re.compile(r'\bColorSync (ICC|color) [Pp]rofile')
RE_FILE_TYPE = re.compile(r'\bColorSync (ICC|color) [Pp]rofile')
def recognizes(file):
def compare_details(self, other, source=None):
return [Difference.from_command(Iccdump, self.path, other.path)]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment