diff --git a/svgpathtools/parser.py b/svgpathtools/parser.py index 66147b8..2548448 100644 --- a/svgpathtools/parser.py +++ b/svgpathtools/parser.py @@ -80,8 +80,7 @@ def parse_path(pathdef, current_pos=0j): segments.append(Line(current_pos, start_pos)) segments.closed = True current_pos = start_pos - start_pos = None - command = None # You can't have implicit commands after closing. + command = None elif command == 'L': x = elements.pop()