diff --git a/varken/tautulli.py b/varken/tautulli.py index 0792fc7..8a60ae4 100644 --- a/varken/tautulli.py +++ b/varken/tautulli.py @@ -235,7 +235,7 @@ class TautulliAPI(object): if not history_item['id']: self.logger.debug('Skipping entry with no ID. (%s)', history_item['full_title']) continue - if date.fromtimestamp(history_item['started'] < start_date): + if date.fromtimestamp(history_item['started']) < start_date: continue params['row_id'] = history_item['id'] req = self.session.prepare_request(Request('GET', self.server.url + self.endpoint, params=params))