updated
This commit is contained in:
parent
3fbf64f83b
commit
2a1f94f51f
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user