Commit 5b10f602 authored by jvoisin's avatar jvoisin

Oops

parent 62c205ff
Pipeline #35665 passed with stages
in 2 minutes and 13 seconds
......@@ -231,7 +231,7 @@ class ArchiveBasedAbstractParser(abstract.AbstractParser):
os.remove(self.output_filename)
return False
if not self._final_checks():
return False
return False # pragma: no cover
return True
......
......@@ -302,7 +302,7 @@ class MSOfficeParser(ZipParser):
with open(full_path, encoding='utf-8') as f:
content = f.read()
# relationship id
for i in re.findall(r'(?:\s|r:)[iIdD]="rId([0-9]+)"(?:\s|/)', content):
for i in re.findall(r'(?:\s|r:)[iI][dD]="rId([0-9]+)"(?:\s|/)', content):
self.__counters['rid'].add(int(i))
# Connector non visual property
for i in re.findall(r'<p:cNvPr id="([0-9]+)"', content):
......
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