From a81dfe83a93e7de12fd633222a47647d0ab27baa Mon Sep 17 00:00:00 2001 From: JonnyWong16 Date: Sat, 19 Aug 2017 23:49:32 -0700 Subject: [PATCH] Turn on logging of disabled user/library notifications --- plexpy/notification_handler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plexpy/notification_handler.py b/plexpy/notification_handler.py index 086bf7a5..f0f28f71 100644 --- a/plexpy/notification_handler.py +++ b/plexpy/notification_handler.py @@ -138,11 +138,11 @@ def notify_conditions(notify_action=None, stream_data=None, timeline_data=None): library_details = library_data.get_details(section_id=stream_data['section_id']) if not user_details['do_notify']: - # logger.debug(u"PlexPy NotificationHandler :: Notifications for user '%s' is disabled." % user_details['username']) + logger.debug(u"PlexPy NotificationHandler :: Notifications for user '%s' are disabled." % user_details['username']) return False elif not library_details['do_notify'] and notify_action not in ('on_concurrent', 'on_newdevice'): - # logger.debug(u"PlexPy NotificationHandler :: Notifications for library '%s' is disabled." % library_details['section_name']) + logger.debug(u"PlexPy NotificationHandler :: Notifications for library '%s' are disabled." % library_details['section_name']) return False if notify_action == 'on_concurrent':