Turned back bodyfunctions example to returning more seldomly

This commit is contained in:
Griatch 2014-02-14 01:56:01 +01:00
parent f35fd236b7
commit cdde9fb955

View file

@ -33,9 +33,9 @@ class BodyFunctions(Script):
a random check here so as to only return 33% of the time.
"""
#if random.random() < 0.66:
# # no message this time
# return
if random.random() < 0.66:
# no message this time
return
rand = random.random()
# return a random message
if rand < 0.1: