From 1a1f7d2102fe6bf65df1fb1c72f78dc7b9505521 Mon Sep 17 00:00:00 2001 From: Ebru Yucesar Date: Wed, 12 Jun 2024 10:51:29 -0400 Subject: [PATCH] linting --- web/main/case_xml_converter.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/web/main/case_xml_converter.py b/web/main/case_xml_converter.py index 4b5a50fd0..f26b60906 100644 --- a/web/main/case_xml_converter.py +++ b/web/main/case_xml_converter.py @@ -2,8 +2,6 @@ Convert between XML and HTML versions of CAP's formatted case data. """ -from pprint import pprint - import lxml.sax import lxml.html import xml.sax @@ -81,7 +79,7 @@ def startElement(self, name, attrs): "a", { "id": "p" + label, - "href": f"#p" + label, + "href": f"#p{label}", "data-label": label, "data-citation-index": attrs["citation-index"], "class": "page-label",