From fec58f04e7cac71b4c3b339261350663a4c69046 Mon Sep 17 00:00:00 2001 From: blacktwin Date: Mon, 3 Oct 2016 08:09:29 -0400 Subject: [PATCH] Update notify_on_added.py --- notify_on_added.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/notify_on_added.py b/notify_on_added.py index b7478b5..ab53dd4 100644 --- a/notify_on_added.py +++ b/notify_on_added.py @@ -43,8 +43,8 @@ users = [{'email': 'user1@gmail.com', }] # Kill script now if show_name is not in lists -to = list('Match' for u in users if p.show_name in u['shows']) -if not to: +too = list('Match' for u in users if p.show_name in u['shows']) +if not too: exit() # Join email addresses