Skip to content

Instantly share code, notes, and snippets.

@kylefox kylefox/
Created Aug 19, 2015

What would you like to do?
# Bayes filter for FotoJournal
if blog.title.contains('photography'):
blog.status = 'Active'
elif blog.title.contains('penis'):
blog.status = 'Spam'
blog.status = 'Unknown'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.