Fix bug where underlays didn't work

This commit is contained in:
Dion Moult
2022-05-22 21:32:48 +10:00
parent 3a1416536a
commit c352181f8c
@@ -173,7 +173,7 @@ class CreateDrawing(bpy.types.Operator):
outfile.write(boilerplate.replace("</svg>", ""))
if underlay:
with open(underlay) as infile:
for line in enumerate(infile):
for i, line in enumerate(infile):
if i < 2:
continue
elif "</svg>" in line: