Fix ignored lines in XML comparison

This commit is contained in:
Veronica Berglyd Olsen
2022-05-21 18:15:38 +02:00
parent cea22b6147
commit 63a3e56cdb
3 changed files with 14 additions and 12 deletions
+2
View File
@@ -25,6 +25,8 @@ import shutil
from PyQt5.QtWidgets import qApp
XML_IGNORE = ("<novelWriterXML", "<saveCount", "<autoCount", "<editTime")
def cmpFiles(fileOne, fileTwo, ignoreLines=None, ignoreStart=None):
"""Compare two files, but optionally ignore lines given by a list.