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

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