This commit is contained in:
Michael Fogleman 2018-03-26 09:56:01 -04:00
parent 0509e84245
commit 60def75465
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ class Drawing(object):
paths = []
for line in data.split('\n'):
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)
if path:
paths.append(path)