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()