mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-07 21:51:14 -07:00
Log individual condition evalutation
This commit is contained in:
parent
ed4722c4ce
commit
d8cfdea704
1 changed files with 4 additions and 2 deletions
|
@ -317,7 +317,9 @@ def notify_custom_conditions(notifier_id=None, parameters=None):
|
||||||
else:
|
else:
|
||||||
evaluated_logic = all(evaluated_conditions[1:])
|
evaluated_logic = all(evaluated_conditions[1:])
|
||||||
|
|
||||||
logger.debug(u"Tautulli NotificationHandler :: Custom condition evaluated to '%s'." % str(evaluated_logic))
|
logger.debug(u"Tautulli NotificationHandler :: Custom condition evaluated to '{}'. Conditions: {}.".format(
|
||||||
|
evaluated_logic, evaluated_conditions[1:]))
|
||||||
|
|
||||||
return evaluated_logic
|
return evaluated_logic
|
||||||
|
|
||||||
return True
|
return True
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue