updated formatting

This commit is contained in:
Fmstrat 2024-08-14 10:06:49 -04:00
parent 8ae66a7eaa
commit 5e11d697ab
1 changed files with 13 additions and 13 deletions

View File

@ -340,7 +340,7 @@ def _eval_answers(results, dom, xpath):
if table_elements: if table_elements:
extracted_table = table_elements[0] extracted_table = table_elements[0]
extracted_table.attrib.clear() extracted_table.attrib.clear()
for element in extracted_table.xpath(f'.//*'): for element in extracted_table.xpath('.//*'):
element.attrib.clear() element.attrib.clear()
extracted_table.set('cellpadding', '2') extracted_table.set('cellpadding', '2')
extracted_table.set('cellspacing', '2') extracted_table.set('cellspacing', '2')