aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar jesopo2018-11-16 17:40:49 +0000
committerGravatar jesopo2018-11-16 17:40:49 +0000
commit8e5415b887f72faa3a37965fb6b1c1d103ed467c (patch)
tree0819f5debbd711bfe8e68d42e7ab02271410a629
parentFix string formatting of modules/dice.py (diff)
signature
second format arg should have been `results`
-rw-r--r--modules/dice.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/dice.py b/modules/dice.py
index db499f3a..912f8aa0 100644
--- a/modules/dice.py
+++ b/modules/dice.py
@@ -36,4 +36,4 @@ class Module(ModuleManager.BaseModule):
if len(results) > 1:
total = " (total: %d)" % total_n
event["stdout"].write("Rolled %s and got %s%s" % (
- str_roll, str(total_n), total))
+ str_roll, ", ".join(results), total))