From 0d6a70e1376a2735835e50819fabcbc7304f6771 Mon Sep 17 00:00:00 2001 From: Jannis Harder Date: Mon, 19 Jun 2023 11:21:49 +0200 Subject: [PATCH] autotune: Fix crash on no-engine error path --- sbysrc/sby_autotune.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbysrc/sby_autotune.py b/sbysrc/sby_autotune.py index 771a9a0..1d6f102 100644 --- a/sbysrc/sby_autotune.py +++ b/sbysrc/sby_autotune.py @@ -402,7 +402,7 @@ class SbyAutotune: self.build_candidates() if not self.active_candidates: - self.error("no supported engines found for the current configuration and design") + self.task.error("no supported engines found for the current configuration and design") self.log(f"testing {len(self.active_candidates)} engine configurations...") self.start_engines()