From 7286839b77766d7dcd8864b0f1ece1ddffe51100 Mon Sep 17 00:00:00 2001 From: XANTRONIX Development Date: Tue, 2 Jan 2024 01:17:13 -0500 Subject: [PATCH] Make Path.parse() return a Path object --- py/hexagram/path.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py/hexagram/path.py b/py/hexagram/path.py index a7d8834..ccf771f 100644 --- a/py/hexagram/path.py +++ b/py/hexagram/path.py @@ -127,7 +127,7 @@ class Path(): if command.command is not None: commands.append(command.finish()) - return commands + return Path(commands) def horiz_to(self, cr: cairo.Context, x2: float): _, y = cr.get_current_point()