Update kill_more_than.py

This commit is contained in:
blacktwin 2018-01-26 09:18:40 -05:00 committed by GitHub
parent 5855fb3297
commit a8f6cb31a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,7 +48,7 @@ def kill_session(user, ip_address, session_key):
if username == user and address == ip_address:
user_sessions.append((session))
if len(user_sessions) == 1:
if len(user_sessions) > 1:
for session in user_sessions:
if session_key == session.sessionKey:
title = (session.grandparentTitle + ' - ' if session.type == 'episode' else '') + session.title