From bbe47fa982048d782cc20e5199b9ec2b3b2b1c98 Mon Sep 17 00:00:00 2001 From: XANTRONIX Development Date: Wed, 3 Jan 2024 13:13:54 -0500 Subject: [PATCH] Fix type hinting issues --- py/hexagram/path.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/py/hexagram/path.py b/py/hexagram/path.py index b07ac3c..e5dd7de 100644 --- a/py/hexagram/path.py +++ b/py/hexagram/path.py @@ -213,10 +213,10 @@ class Path(): cr.rel_curve_to(*args[i:i+6]) elif command == 'S' or command == 's': for i in range(0, len(args), 4): - x2, y2, x, y = args[i:i+4] + x2, y2, x, y = map(float, args[i:i+4]) if last[0] == 'C' or last[0] == 'c': - x1, y1 = last[1][2:4] + x1, y1 = map(float, last[1][2:4]) elif last[0] == 'S' or last[0] == 's': raise NotImplementedError else: