pep8 + desc

This commit is contained in:
dirtycajunrice 2019-04-23 23:33:57 -05:00
parent 6cd1231ec5
commit a8bd260f33
No known key found for this signature in database
GPG Key ID: 291EE25B239FA5EE

View File

@ -2,7 +2,7 @@
"""
Description: Get a list of "Serial Transcoders"
Author: DirtyCajunRice
Requires: requests, python3.6+
Requires: requests, plexapi, python3.6+
"""
from requests import Session
from plexapi.server import CONFIG
@ -59,5 +59,3 @@ for user, counts in USERS.items():
PARAMS['user_id'] = user
NAUGHTY = SESSION.get(FORMATTED_URL, params=PARAMS).json()['response']['data']
print(f"{NAUGHTY['friendly_name']} is a serial transocde offender above the threshold at {TRANSCODE_PERCENT}%")