Accept XML headers with extra info

This commit is contained in:
DarkPhoenix
2019-11-17 17:34:49 +03:00
parent bec58a5772
commit e649683a4d
2 changed files with 3 additions and 3 deletions

View File

@@ -47,7 +47,7 @@ from service.port.muta import parseMutant
pyfalog = Logger(__name__)
# 2017/04/05 NOTE: simple validation, for xml file
RE_XML_START = r'<\?xml\s+version="1.0"\s*\?>'
RE_XML_START = r'<\?xml\s+version="1.0"[^<>]*\?>'
class Port:
@@ -321,4 +321,4 @@ class Port:
@staticmethod
def exportFitStats(fit, callback=None):
return exportFitStats(fit, callback=callback)
return exportFitStats(fit, callback=callback)