Skip to content

Commit

Permalink
Removed extraneous parentheses in helper function.
Browse files Browse the repository at this point in the history
  • Loading branch information
Vertraic committed Nov 26, 2024
1 parent e6c7a65 commit e409fea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ def compare_results(
comparator: str):
if yaml_value is None:
return False
if (isinstance(yaml_value, str|bool|int) and isinstance(trigger_value, str|bool|int)):
if isinstance(yaml_value, str|bool|int) and isinstance(trigger_value, str|bool|int):
yaml_value = str(yaml_value).lower()
trigger_value = str(trigger_value).lower()
if comparator == "=":
Expand Down

0 comments on commit e409fea

Please sign in to comment.