From 361a37baf7fc8e2d74c957cd4bb6f93a793794ab Mon Sep 17 00:00:00 2001 From: Luke Robles Date: Sat, 20 Jun 2020 15:44:39 -0700 Subject: [PATCH] cleaning up the error message --- app/dice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/dice.py b/app/dice.py index 26a02a5c..c4e74aa3 100644 --- a/app/dice.py +++ b/app/dice.py @@ -35,5 +35,5 @@ def parse_message(message): number_to_add = int(message.split('+')[-1]) return roll(message.split('d')[0], message.split('d')[1].split('+')[0], number_to_add) except ValueError: - return "Could not add %s to the total roll" + return "Could not add that number to the total roll" return roll(message.split('d')[0], message.split('d')[1])