From c84c897bf2121ed86ceed45b4e027785351c2fd5 Mon Sep 17 00:00:00 2001 From: Andrew Port Date: Thu, 3 Feb 2022 18:11:55 -0800 Subject: [PATCH] aesthetic cleanup --- svgpathtools/svg_to_paths.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/svgpathtools/svg_to_paths.py b/svgpathtools/svg_to_paths.py index af14da5..f4ca07b 100644 --- a/svgpathtools/svg_to_paths.py +++ b/svgpathtools/svg_to_paths.py @@ -17,9 +17,11 @@ COORD_PAIR_TMPLT = re.compile( r'([\+-]?\d*[\.\d]\d*[eE][\+-]?\d+|[\+-]?\d*[\.\d]\d*)' ) + def path2pathd(path): return path.get('d', '') + def ellipse2pathd(ellipse): """converts the parameters from an ellipse or a circle to a string for a Path object d-attribute"""