Update notify_on_added.py

This commit is contained in:
blacktwin 2016-10-03 08:09:29 -04:00 committed by GitHub
parent e64ec56ddf
commit fec58f04e7

View File

@ -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