mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-13 00:32:58 -07:00
Fix logger typo in notification handler
This commit is contained in:
parent
41899872cd
commit
71d023ab77
1 changed files with 4 additions and 4 deletions
|
@ -743,9 +743,9 @@ def build_notify_text(session=None, timeline=None, notify_action=None, agent_id=
|
||||||
try:
|
try:
|
||||||
script_args = [unicode(arg).format(**available_params) for arg in script_args_text.split()]
|
script_args = [unicode(arg).format(**available_params) for arg in script_args_text.split()]
|
||||||
except LookupError as e:
|
except LookupError as e:
|
||||||
logger.error(u"PlexPy Notifier :: Unable to parse field %s in script argument. Using fallback." % e)
|
logger.error(u"PlexPy NotificationHandler :: Unable to parse field %s in script argument. Using fallback." % e)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.error(u"PlexPy Notifier :: Unable to parse custom script arguments %s. Using fallback." % e)
|
logger.error(u"PlexPy NotificationHandler :: Unable to parse custom script arguments %s. Using fallback." % e)
|
||||||
|
|
||||||
if notify_action == 'play':
|
if notify_action == 'play':
|
||||||
# Default body text
|
# Default body text
|
||||||
|
@ -980,9 +980,9 @@ def build_server_notify_text(notify_action=None, agent_id=None):
|
||||||
try:
|
try:
|
||||||
script_args = [unicode(arg).format(**available_params) for arg in script_args_text.split()]
|
script_args = [unicode(arg).format(**available_params) for arg in script_args_text.split()]
|
||||||
except LookupError as e:
|
except LookupError as e:
|
||||||
logger.error(u"PlexPy Notifier :: Unable to parse field %s in script argument. Using fallback." % e)
|
logger.error(u"PlexPy NotificationHandler :: Unable to parse field %s in script argument. Using fallback." % e)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.error(u"PlexPy Notifier :: Unable to parse custom script arguments %s. Using fallback." % e)
|
logger.error(u"PlexPy NotificationHandler :: Unable to parse custom script arguments %s. Using fallback." % e)
|
||||||
|
|
||||||
if notify_action == 'extdown':
|
if notify_action == 'extdown':
|
||||||
# Default body text
|
# Default body text
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue