From d80f749e88669a81ff2b04265a84da284ade1a2e Mon Sep 17 00:00:00 2001 From: George Woskob Date: Tue, 9 Jan 2024 00:33:49 +0100 Subject: [PATCH] Fixing GrCurve to_sexpr --- src/kiutils/items/gritems.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kiutils/items/gritems.py b/src/kiutils/items/gritems.py index eb54073..e24caaf 100644 --- a/src/kiutils/items/gritems.py +++ b/src/kiutils/items/gritems.py @@ -766,5 +766,5 @@ def to_sexpr(self, indent: int = 2, newline: bool = True) -> str: expression = f'{indents}(gr_curve{locked} (pts\n' for point in self.coordinates: expression += f'{indents} (xy {point.X} {point.Y})\n' - expression += f'{indents}){layer} (width {self.width}{tstamp}){endline}' + expression += f'{indents}){layer} (width {self.width}){tstamp}){endline}' return expression