Remove Python 2 import.

parent a3c9048c
......@@ -6,13 +6,9 @@ words + boxes : WordBoxBuilder
lines + words + boxes : LineBoxBuilder
"""
try:
from HTMLParser import HTMLParser
except ImportError:
from html.parser import HTMLParser
import xml.dom.minidom
from html.parser import HTMLParser
import logging
import xml.dom.minidom
logger = logging.getLogger(__name__)
......
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