Allow the probe data file to have blank lines.

This commit is contained in:
sliptonic
2020-03-31 15:48:17 -05:00
parent 47848a16bb
commit 7539b1085b

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)