get_history's grandparent_rating_key to int()

This commit is contained in:
Blacktwin 2018-05-17 09:56:49 -04:00
parent 6d26b19efd
commit e660b8e69a

View File

@ -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: