Skip to content

Commit bb66e62

Browse files
committed
fix: template string needs an f
1 parent 67cb333 commit bb66e62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def automate_function(
5959
# this is how a run is marked with a failure cause
6060
automate_context.attach_error_to_objects(
6161
category="Forbidden speckle_type"
62-
" ({function_inputs.forbidden_speckle_type})",
62+
f" ({function_inputs.forbidden_speckle_type})",
6363
object_ids=[o.id for o in objects_with_forbidden_speckle_type if o.id],
6464
message="This project should not contain the type: "
6565
f"{function_inputs.forbidden_speckle_type}",

0 commit comments

Comments
 (0)