py3 fix
This commit is contained in:
parent
0509e84245
commit
60def75465
|
@ -33,7 +33,7 @@ class Drawing(object):
|
||||||
paths = []
|
paths = []
|
||||||
for line in data.split('\n'):
|
for line in data.split('\n'):
|
||||||
path = line.strip().split()
|
path = line.strip().split()
|
||||||
path = [map(float, x.split(',')) for x in path]
|
path = [tuple(map(float, x.split(','))) for x in path]
|
||||||
path = expand_quadratics(path)
|
path = expand_quadratics(path)
|
||||||
if path:
|
if path:
|
||||||
paths.append(path)
|
paths.append(path)
|
||||||
|
|
Loading…
Reference in New Issue