now i see why it was %s not %d

This commit is contained in:
jesopo 2018-11-17 12:26:21 +00:00
parent 9054ee7cd2
commit 0da18aa86d

View file

@ -25,5 +25,5 @@ class Module(ModuleManager.BaseModule):
if len(results) > 1:
total = " (total: %d)" % total_n
event["stdout"].write("Rolled %s and got %d%s" % (
roll, total_n, ", ".join(str(r) for r in results)))
event["stdout"].write("Rolled %s and got %s%s" % (
roll, ", ".join(str(r) for r in results), total))