Merge branch 'v2-notifications-conditions' of github.com:JonnyWong16/plexpy into v2-notifications-conditions
This commit is contained in:
@@ -222,7 +222,7 @@ def notify_custom_conditions(notifier_id=None, parameters=None):
|
|||||||
values = condition['value']
|
values = condition['value']
|
||||||
|
|
||||||
# Set blank conditions to None
|
# Set blank conditions to None
|
||||||
if not values:
|
if not parameter or not operator or not values:
|
||||||
evaluated_conditions.append(None)
|
evaluated_conditions.append(None)
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user