get_history's grandparent_rating_key to int()

This commit is contained in:
Blacktwin
2018-05-17 09:56:49 -04:00
committed by Blacktwin
parent a8cee9b115
commit b6bb0520e7

View File

@ -127,7 +127,7 @@ def get_history(showkey):
# Get the user history from Tautulli. Length matters! # Get the user history from Tautulli. Length matters!
payload = {'apikey': TAUTULLI_APIKEY, payload = {'apikey': TAUTULLI_APIKEY,
'cmd': 'get_history', 'cmd': 'get_history',
'grandparent_rating_key': showkey, 'grandparent_rating_key': int(showkey),
'length': 10000} 'length': 10000}
try: try: