From 9c3b910d7d55f7874f7d054c390c048045c5f518 Mon Sep 17 00:00:00 2001 From: sadnub Date: Tue, 14 May 2024 16:31:56 -0400 Subject: [PATCH] flake --- api/tacticalrmm/alerts/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/tacticalrmm/alerts/models.py b/api/tacticalrmm/alerts/models.py index e8163347b1..98743a4feb 100644 --- a/api/tacticalrmm/alerts/models.py +++ b/api/tacticalrmm/alerts/models.py @@ -722,7 +722,7 @@ def parse_script_args(self, args: List[str]) -> List[str]: for string, model, prop in re.findall(RE_DB_VALUE, arg): value = get_db_value(string=f"{model}.{prop}", instance=self) - if value != None: + if value is not None: temp_arg = temp_arg.replace(string, str(value)) temp_args.append(temp_arg)