Commit bb5c7477 authored by Georgios Dagkakis's avatar Georgios Dagkakis

plugin made more robust

parent 1fed1ece
......@@ -39,7 +39,7 @@ class CapacityProjectSpreadsheet(plugin.InputPreparationPlugin):
i=1
while not projectData[row+i][0]:
# if a completely empty line is found break
if all(v is None for v in projectData[row+i]):
if all(v in [None, ''] for v in projectData[row+i]):
break
numberOfOperations+=1
i+=1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment