fix merge

This commit is contained in:
edo-neo 2024-10-25 10:07:22 +02:00
parent e9d83f1fce
commit bfa5ee8d74

View File

@ -443,7 +443,7 @@ class Test(Widget):
if step.step_type in ("leak_1", "leak_2"):
self.leak_step = step
step_types = [step.type for step in steps]
step_types = [step.step_type for step in steps]
if "leak_1" in step_types and "leak_2" in step_types:
leak1_index = step_types.index("leak_1")
leak2_index = step_types.index("leak_2")
@ -454,7 +454,7 @@ class Test(Widget):
# Insert 'instruction_extra' after the first 'instructions' if not inserted between leaks
if not inserted_instruction:
for i, step in enumerate(steps):
if step.type == "instructions":
if step.step_type == "instructions":
steps.insert(i + 1, Step(step_type="instruction_extra", spec={}))
inserted_instruction = True
break