Allow the probe data file to have blank lines.

This commit is contained in:
sliptonic
2020-03-31 15:48:17 -05:00
parent 6db7bf6046
commit 4ce860cbf9

View File

@@ -102,6 +102,8 @@ class ObjectDressup:
try:
pointlist = []
for line in f1.readlines():
if line == '\n':
continue
w = line.split()
xval = round(float(w[0]), 2)
yval = round(float(w[1]), 2)