This commit is contained in:
Behdad Esfahbod 2023-02-17 15:22:24 -07:00
parent ceae682246
commit ea8ae8f399
2 changed files with 3 additions and 3 deletions

View File

@ -63,7 +63,7 @@ class Qu2CuPen(ContourFilterPen):
currentPt = None
newContour = []
for op, args in contour:
if op == 'qCurveTo' and len(args) > 2 and args[-1] is not None:
if op == "qCurveTo" and len(args) > 2 and args[-1] is not None:
quadratics.append((currentPt,) + args)
else:
if quadratics: