Skip to content

Commit

Permalink
flake
Browse files Browse the repository at this point in the history
  • Loading branch information
sadnub authored and wh1te909 committed May 16, 2024
1 parent 212ba70 commit 4e00fb1
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 4e00fb1

Please sign in to comment.