aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar jesopo2018-11-17 12:48:42 +0000
committerGravatar jesopo2018-11-17 12:48:42 +0000
commit0f2a8c7932e11187252cedf784a315e64463ee5e (patch)
treefee258bbb2fb99bd6213636f628f8e8b88d7f902
parentrange()'s upper bound is not inclusive (diff)
signature
Minor code styling change in modules/8ball.py
-rw-r--r--modules/8ball.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/8ball.py b/modules/8ball.py
index 5080af18..92603678 100644
--- a/modules/8ball.py
+++ b/modules/8ball.py
@@ -36,5 +36,5 @@ class Module(ModuleManager.BaseModule):
:help: Ask the mystic 8ball a question!
:usage: <question>
"""
- event["stdout"].write("You shake the magic ball... it "
- "says " + utils.irc.bold(random.choice(CHOICES)))
+ event["stdout"].write("You shake the magic ball... it says %s" %
+ utils.irc.bold(random.choice(CHOICES)))