From be50ecd0336ed438a2a2e197f24a2b3903e8cf1c Mon Sep 17 00:00:00 2001 From: JonnyWong16 Date: Sat, 8 Oct 2016 20:26:29 -0700 Subject: [PATCH] Default True for no data notifications --- plexpy/activity_handler.py | 2 -- plexpy/notification_handler.py | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/plexpy/activity_handler.py b/plexpy/activity_handler.py index 80e66e10..ceb75aae 100644 --- a/plexpy/activity_handler.py +++ b/plexpy/activity_handler.py @@ -32,7 +32,6 @@ class ActivityHandler(object): def __init__(self, timeline): self.timeline = timeline - # print timeline def is_valid_session(self): if 'sessionKey' in self.timeline: @@ -235,7 +234,6 @@ class TimelineHandler(object): def __init__(self, timeline): self.timeline = timeline - #logger.debug(timeline) def is_item(self): if 'itemID' in self.timeline: diff --git a/plexpy/notification_handler.py b/plexpy/notification_handler.py index 33af4d6f..3a1a6b82 100644 --- a/plexpy/notification_handler.py +++ b/plexpy/notification_handler.py @@ -132,7 +132,7 @@ def notify_conditions(notifier=None, notify_action=None, stream_data=None, timel return conditions.get(notify_action, True) else: - return False + return True def notify(notifier_id=None, notify_action=None, stream_data=None, timeline_data=None, **kwargs):