From 2f35a4a192eb6aa3b68b715da6c1ba984084e0e5 Mon Sep 17 00:00:00 2001 From: Kaalleen <36401965+kaalleen@users.noreply.github.com> Date: Sun, 25 Jul 2021 07:24:34 +0200 Subject: Fix Style Issues (#1154) Co-authored-by: Lex Neva --- lib/svg/path.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/svg/path.py') diff --git a/lib/svg/path.py b/lib/svg/path.py index b503cc75..53cf80f2 100644 --- a/lib/svg/path.py +++ b/lib/svg/path.py @@ -4,7 +4,6 @@ # Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. import inkex -from lxml import etree from .tags import SVG_GROUP_TAG, SVG_LINK_TAG from .units import get_viewbox_transform @@ -96,6 +95,6 @@ def point_lists_to_csp(point_lists): def line_strings_to_path(line_strings): csp = line_strings_to_csp(line_strings) - return etree.Element("path", { + return inkex.PathElement(attrib={ "d": str(inkex.paths.CubicSuperPath(csp)) }) -- cgit v1.2.3