aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar jesopo2018-11-17 12:23:49 +0000
committerGravatar jesopo2018-11-17 12:23:49 +0000
commit349c9a019043fb4a6e832d0eb5f3873f18519616 (patch)
tree4f5250935663bf09caef6226aebb989da0334fde
parent'reults' -> 'results' (diff)
signature
ints are not 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 69485b6d..a3456c82 100644
--- a/modules/dice.py
+++ b/modules/dice.py
@@ -26,4 +26,4 @@ class Module(ModuleManager.BaseModule):
total = " (total: %d)" % total_n
event["stdout"].write("Rolled %s and got %s%s" % (
- roll, total_n, ", ".join(results)))
+ roll, total_n, ", ".join(str(r) for r in results)))