Skip to content

Commit

Permalink
Make generated find_lines python script include first line when run (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
SamCarlberg authored Jan 16, 2019
1 parent 5b5d437 commit 91c0499
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
lines = detector.detect(tmp)
output = []
if len(lines) != 0:
for i in range(1, len(lines[0])):
for i in range(0, len(lines[0])):
tmp = ${className}.Line(lines[0][i, 0][0], lines[0][i, 0][1],
lines[0][i, 0][2], lines[0][i, 0][3])
output.append(tmp)
Expand Down

0 comments on commit 91c0499

Please # to comment.