From 8a63cb5a8b3e711648be59e41016921c5dd4ba9f Mon Sep 17 00:00:00 2001 From: blacktwin Date: Mon, 23 Oct 2017 12:52:12 -0400 Subject: [PATCH] Update wait_kill_pause_notify_main.py --- killstream/wait_kill_pause_notify_main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/killstream/wait_kill_pause_notify_main.py b/killstream/wait_kill_pause_notify_main.py index 81fe5cb..f32c8a6 100644 --- a/killstream/wait_kill_pause_notify_main.py +++ b/killstream/wait_kill_pause_notify_main.py @@ -115,6 +115,6 @@ if __name__ == '__main__': sub_path = os.path.join(fileDir, sub_script) for session in plex.sessions(): - if session.sessionKey == int(sessionKey) and session.usernames[0] in USER_IGNORE: + if session.sessionKey == int(sessionKey) and session.usernames[0] not in USER_IGNORE: subprocess.Popen([sys.executable, sub_path, sessionKey, TIMEOUT, INTERVAL], startupinfo=startupinfo)