Skip to content

Commit

Permalink
Fixed skipping of word occurence check
Browse files Browse the repository at this point in the history
  • Loading branch information
dillbyrne committed May 5, 2014
1 parent f190d46 commit cd618cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion smpp_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def generate_phrase(wordlist,numofwords):
while phrase.count(word) is not 0:
word = choice(wordlist)

phrase.append(choice(wordlist))
phrase.append(word)

pphrase = ""

Expand Down

0 comments on commit cd618cb

Please sign in to comment.