From 0c5dc9de1afab01ebf68daaa2b10961d7a7ce3cc Mon Sep 17 00:00:00 2001 From: Andrew Port Date: Thu, 23 Sep 2021 00:59:10 -0700 Subject: [PATCH] fixed ElementTree issue in python3 --- svgpathtools/document.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/svgpathtools/document.py b/svgpathtools/document.py index 2c8d653..e2e9a5c 100644 --- a/svgpathtools/document.py +++ b/svgpathtools/document.py @@ -38,7 +38,7 @@ from __future__ import division, absolute_import, print_function import os import collections from defusedxml.cElementTree import parse, tostring -from xml.etree.cElementTree import Element, SubElement, register_namespace +from xml.etree.cElementTree import Element, SubElement, register_namespace, ElementTree from defusedxml.minidom import parseString import warnings from tempfile import gettempdir