Skip to content

Commit

Permalink
flake
Browse files Browse the repository at this point in the history
  • Loading branch information
sadnub committed May 14, 2024
1 parent 722ee43 commit 9c3b910
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/tacticalrmm/alerts/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9c3b910

Please sign in to comment.