aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar jesopo2018-11-16 17:43:05 +0000
committerGravatar jesopo2018-11-16 17:43:05 +0000
commit39c313bd64d79a5b22b21e5ecd66a3394b5014d3 (patch)
tree2d6eb0c3a947e5f306105b9b53d5c7ad67abd98c
parent`results` was already a ", ".joined string (diff)
signature
we need strings!
-rw-r--r--modules/dice.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/dice.py b/modules/dice.py
index 10ef3451..42d048cf 100644
--- a/modules/dice.py
+++ b/modules/dice.py
@@ -35,4 +35,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, ", ".join(results), total))
+ str_roll, ", ".join(str(r) for r in results), total))