mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-11 15:56:07 -07:00
Check for blank parameter and operator
This commit is contained in:
parent
1eac1002b2
commit
7ba2b7828c
1 changed files with 1 additions and 1 deletions
|
@ -222,7 +222,7 @@ def notify_custom_conditions(notifier_id=None, parameters=None):
|
|||
values = condition['value']
|
||||
|
||||
# Set blank conditions to None
|
||||
if not values:
|
||||
if not parameter or not operator or not values:
|
||||
evaluated_conditions.append(None)
|
||||
continue
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue