Added some stuff, deleted some stuff, modified some stuff

This commit is contained in:
RussellChamp committed 2016-03-10 11:54:42 -05:00
1 parent 8454515e67
commit d76dd9c674
16 files changed
+199 -30

No files matched your search

+1 -1
View File
@@ -20,6 +20,6 @@ def rhymeZone(word):
for t in soup.find_all('a', 'd'):
w = t.text.rstrip()
if w not in [u'', u'\xa0'] and '?' not in t:
words.append(w)
words.append(w.encode('ascii', 'ignore'))
random.shuffle(words)
return words[0:5]