mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-08 06:00:51 -07:00
Default True for no data notifications
This commit is contained in:
parent
4170ed55a6
commit
be50ecd033
2 changed files with 1 additions and 3 deletions
|
@ -32,7 +32,6 @@ class ActivityHandler(object):
|
||||||
|
|
||||||
def __init__(self, timeline):
|
def __init__(self, timeline):
|
||||||
self.timeline = timeline
|
self.timeline = timeline
|
||||||
# print timeline
|
|
||||||
|
|
||||||
def is_valid_session(self):
|
def is_valid_session(self):
|
||||||
if 'sessionKey' in self.timeline:
|
if 'sessionKey' in self.timeline:
|
||||||
|
@ -235,7 +234,6 @@ class TimelineHandler(object):
|
||||||
|
|
||||||
def __init__(self, timeline):
|
def __init__(self, timeline):
|
||||||
self.timeline = timeline
|
self.timeline = timeline
|
||||||
#logger.debug(timeline)
|
|
||||||
|
|
||||||
def is_item(self):
|
def is_item(self):
|
||||||
if 'itemID' in self.timeline:
|
if 'itemID' in self.timeline:
|
||||||
|
|
|
@ -132,7 +132,7 @@ def notify_conditions(notifier=None, notify_action=None, stream_data=None, timel
|
||||||
|
|
||||||
return conditions.get(notify_action, True)
|
return conditions.get(notify_action, True)
|
||||||
else:
|
else:
|
||||||
return False
|
return True
|
||||||
|
|
||||||
|
|
||||||
def notify(notifier_id=None, notify_action=None, stream_data=None, timeline_data=None, **kwargs):
|
def notify(notifier_id=None, notify_action=None, stream_data=None, timeline_data=None, **kwargs):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue