Brute force casing

This commit is contained in:
Martin Hořeňovský 2019-07-19 13:29:16 +02:00
parent 52f3abadbb
commit 0e805512e5

View File

@ -92,9 +92,10 @@ def diffFiles(fileA, fileB):
def normalizeFilepath(line): def normalizeFilepath(line):
if catchPathSymbolic in line: if catchPathSymbolic in line or catchPathSymbolic.lower() in line:
# make paths relative to Catch root # make paths relative to Catch root
line = line.replace(catchPathSymbolic + os.sep, '') line = line.replace(catchPathSymbolic + os.sep, '')
line = line.replace(catchPathSymbolic.lower() + os.sep, '')
m = langFilenameParser.match(line) m = langFilenameParser.match(line)
if m: if m: