Skip to content

Commit

Permalink
logic fix
Browse files Browse the repository at this point in the history
  • Loading branch information
g0rgamesh committed May 6, 2024
1 parent 83654a4 commit eca7887
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/kayobe-automation-redact
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ def annotate(ctx, value):
path_str = *map(str, ctx['path']),
if path_str[0] in annotation_exceptions:
if isinstance(annotation_exceptions[path_str[0]], str):
return f"{annotation_exceptions[path_str[0]]}.{value}"
else:
return annotation_exceptions[path_str[0]]
else:
return annotation_exceptions[path_str[0]][value]
else:
return f"{'_'.join(path_str)}.{value}"

Expand Down

0 comments on commit eca7887

Please sign in to comment.