Skip to content

Commit 91c0499

Browse files
authored
Make generated find_lines python script include first line when run (#909)
1 parent 5b5d437 commit 91c0499

File tree

1 file changed

+1
-1
lines changed
  • ui/src/main/resources/edu/wpi/grip/ui/codegeneration/python/operations

1 file changed

+1
-1
lines changed

ui/src/main/resources/edu/wpi/grip/ui/codegeneration/python/operations/Find_Lines.vm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
lines = detector.detect(tmp)
1616
output = []
1717
if len(lines) != 0:
18-
for i in range(1, len(lines[0])):
18+
for i in range(0, len(lines[0])):
1919
tmp = ${className}.Line(lines[0][i, 0][0], lines[0][i, 0][1],
2020
lines[0][i, 0][2], lines[0][i, 0][3])
2121
output.append(tmp)

0 commit comments

Comments
 (0)