less frequent shouting

This commit is contained in:
Tom Meagher
2013-10-28 13:55:54 -04:00
parent 72820447f3
commit 25dc2ceead

View File

@@ -69,8 +69,8 @@ if __name__=="__main__":
#if a tweet is very short, this will randomly add a second sentence to it. #if a tweet is very short, this will randomly add a second sentence to it.
if ebook_tweet != None and len(ebook_tweet) < 40: if ebook_tweet != None and len(ebook_tweet) < 40:
rando = random.randint(0,7) rando = random.randint(0,10)
if rando == 0: if rando == 0 or rando == 7:
print "Short tweet. Adding another sentence randomly" print "Short tweet. Adding another sentence randomly"
newer_tweet = mine.generate_sentence() newer_tweet = mine.generate_sentence()
if newer_tweet != None: if newer_tweet != None: