From bb66e6272476b0d30045ac7501d0d88cf288a1d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gerg=C5=91=20Jedlicska?= Date: Tue, 4 Jun 2024 11:14:37 +0200 Subject: [PATCH] fix: template string needs an f --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index d66a07d..478107f 100644 --- a/main.py +++ b/main.py @@ -59,7 +59,7 @@ def automate_function( # this is how a run is marked with a failure cause automate_context.attach_error_to_objects( category="Forbidden speckle_type" - " ({function_inputs.forbidden_speckle_type})", + f" ({function_inputs.forbidden_speckle_type})", object_ids=[o.id for o in objects_with_forbidden_speckle_type if o.id], message="This project should not contain the type: " f"{function_inputs.forbidden_speckle_type}",