From 58996c11158e622b7220b43d914828f94381eaa8 Mon Sep 17 00:00:00 2001 From: JonnyWong16 Date: Sat, 27 Jan 2018 10:59:48 -0800 Subject: [PATCH] Unused now time --- plexpy/activity_handler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plexpy/activity_handler.py b/plexpy/activity_handler.py index fd595de9..af110489 100644 --- a/plexpy/activity_handler.py +++ b/plexpy/activity_handler.py @@ -511,8 +511,8 @@ def on_created(rating_key, **kwargs): if metadata: notify = True - now = int(time.time()) - + # now = int(time.time()) + # # if helpers.cast_to_int(metadata['added_at']) < now - 86400: # Updated more than 24 hours ago # logger.debug(u"Tautulli TimelineHandler :: Library item %s added more than 24 hours ago. Not notifying." # % str(rating_key))