code cleanup
fixed line too long
This commit is contained in:
parent
66f1e7884e
commit
262b37a0f9
1 changed files with 3 additions and 1 deletions
|
|
@ -2568,7 +2568,9 @@ def scourCoordinates(data, options, forceCommaWsp=False, cmd=''):
|
||||||
previousCoord = ''
|
previousCoord = ''
|
||||||
for coord in data:
|
for coord in data:
|
||||||
cp = ((cmd == 'c' and (c % 6) < 4) or (cmd == 's' and (c % 4) < 2))
|
cp = ((cmd == 'c' and (c % 6) < 4) or (cmd == 's' and (c % 4) < 2))
|
||||||
scouredCoord = scourUnitlessLength(coord, needsRendererWorkaround=options.renderer_workaround, isControlPoint=cp)
|
scouredCoord = scourUnitlessLength(coord,
|
||||||
|
needsRendererWorkaround=options.renderer_workaround,
|
||||||
|
isControlPoint=cp)
|
||||||
# only need the comma if the current number starts with a digit
|
# only need the comma if the current number starts with a digit
|
||||||
# (numbers can start with - without needing a comma before)
|
# (numbers can start with - without needing a comma before)
|
||||||
# or if forceCommaWsp is True
|
# or if forceCommaWsp is True
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue