aboutsummaryrefslogtreecommitdiff
path: root/modules/dice.py
diff options
context:
space:
mode:
authorGravatar jesopo2018-11-16 17:42:00 +0000
committerGravatar jesopo2018-11-16 17:42:00 +0000
commitb008bb2a0f0e3a227e5fd04e1c9f8705a548990a (patch)
treee975bfb02f478e096ae7282223ecbb71ed5cd4d1 /modules/dice.py
parentsecond format arg should have been `results` (diff)
signature
`results` was already a ", ".joined string
Diffstat (limited to 'modules/dice.py')
-rw-r--r--modules/dice.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/dice.py b/modules/dice.py
index 912f8aa0..10ef3451 100644
--- a/modules/dice.py
+++ b/modules/dice.py
@@ -31,7 +31,6 @@ class Module(ModuleManager.BaseModule):
results.append(random.randint(1, sides_of_die))
total_n = sum(results)
- results = ', '.join(map(str, results))
total = ""
if len(results) > 1:
total = " (total: %d)" % total_n