From bfa5ee8d744ad67707d12fe5ca3286439308b1c0 Mon Sep 17 00:00:00 2001 From: edo-neo Date: Fri, 25 Oct 2024 10:07:22 +0200 Subject: [PATCH] fix merge --- src/ui/test/test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ui/test/test.py b/src/ui/test/test.py index adc2fc4..cbd35b8 100755 --- a/src/ui/test/test.py +++ b/src/ui/test/test.py @@ -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