Fix date compare for history gathering in Tautulli
This commit is contained in:
		
							parent
							
								
									bd257afcd6
								
							
						
					
					
						commit
						641ab7f7ae
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -235,7 +235,7 @@ class TautulliAPI(object): | ||||||
|             if not history_item['id']: |             if not history_item['id']: | ||||||
|                 self.logger.debug('Skipping entry with no ID. (%s)', history_item['full_title']) |                 self.logger.debug('Skipping entry with no ID. (%s)', history_item['full_title']) | ||||||
|                 continue |                 continue | ||||||
|             if date.fromtimestamp(history_item['started'] < start_date): |             if date.fromtimestamp(history_item['started']) < start_date: | ||||||
|                 continue |                 continue | ||||||
|             params['row_id'] = history_item['id'] |             params['row_id'] = history_item['id'] | ||||||
|             req = self.session.prepare_request(Request('GET', self.server.url + self.endpoint, params=params)) |             req = self.session.prepare_request(Request('GET', self.server.url + self.endpoint, params=params)) | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue