Update kill_trans_pause.py

This commit is contained in:
blacktwin 2018-01-08 18:37:19 -05:00 committed by GitHub
parent 5998395f27
commit ce252afcb4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,7 +31,7 @@ plex = PlexServer(PLEX_URL, PLEX_TOKEN, session=sess)
def kill_session(sess_key):
for session in plex.sessions():
user = session.username[0]
user = session.usernames[0]
if user in ignore_lst:
print('Ignoring {}\'s paused transcode stream.'.format(user))
exit()