From b614bd38a455e7afa3b0d1ba4cc86c15333311b8 Mon Sep 17 00:00:00 2001 From: Hiroyasu OHYAMA Date: Tue, 28 Nov 2023 16:05:16 +0900 Subject: [PATCH] Run black to be compatible with PEP8 --- airone/exceptions/trigger.py | 2 +- trigger/models.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/airone/exceptions/trigger.py b/airone/exceptions/trigger.py index 0551d7632..ca2817d79 100644 --- a/airone/exceptions/trigger.py +++ b/airone/exceptions/trigger.py @@ -2,4 +2,4 @@ class InvalidInputException(AirOneBaseException): - pass \ No newline at end of file + pass diff --git a/trigger/models.py b/trigger/models.py index 7af629cea..0c48130f1 100644 --- a/trigger/models.py +++ b/trigger/models.py @@ -263,6 +263,8 @@ def _is_match_object(val): elif attr_type == AttrTypeValue["boolean"]: return self.bool_cond == recv_value + return False + @classmethod def register(cls, entity: Entity, conditions: list, actions: list) -> TriggerParentCondition: # convert input to InputTriggerCondition