Skip to content
Snippets Groups Projects
Commit 39b67d02 authored by Mattia Mancini's avatar Mattia Mancini
Browse files

Fix parsing empty step as input

parent 593ec94d
No related branches found
No related tags found
No related merge requests found
......@@ -32,7 +32,7 @@ def concatenate(parsetfile, step_name, step_type, args):
for line in f_stream.read().splitlines():
if line.startswith("steps="):
_, steps = line.split("=")
steps = [step for step in steps.strip().lstrip("[").rstrip("]").split(",")]
steps = [step for step in steps.strip().lstrip("[").rstrip("]").split(",") if step]
else:
print(line)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment