This commit is contained in:
Blacktwin 2018-03-23 10:34:05 -04:00
parent 3fbf64f83b
commit 2a1f94f51f

View File

@ -128,8 +128,7 @@ def get_users_ips(user_id, length):
# Get the user IP list from Tautulli # Get the user IP list from Tautulli
payload = {'apikey': TAUTULLI_APIKEY, payload = {'apikey': TAUTULLI_APIKEY,
'cmd': 'get_user_ips', 'cmd': 'get_user_ips',
'user_id': user_id, 'user_id': user_id}
'length': length}
try: try:
r = requests.get(TAUTULLI_URL.rstrip('/') + '/api/v2', params=payload) r = requests.get(TAUTULLI_URL.rstrip('/') + '/api/v2', params=payload)