Skip to content

Commit

Permalink
fix: template string needs an f
Browse files Browse the repository at this point in the history
  • Loading branch information
gjedlicska committed Jun 4, 2024
1 parent 67cb333 commit bb66e62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}",
Expand Down

0 comments on commit bb66e62

Please sign in to comment.