From fe16d21212bacc9704a6cd84d3c85a6676936181 Mon Sep 17 00:00:00 2001 From: "Sean B. Palmer" Date: Wed, 29 Oct 2008 16:03:12 +0000 Subject: Oblique stuff and fixes. --- modules/codepoints.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/codepoints.py') diff --git a/modules/codepoints.py b/modules/codepoints.py index e2fc39a..eb9c8bf 100755 --- a/modules/codepoints.py +++ b/modules/codepoints.py @@ -71,7 +71,8 @@ def u(phenny, input): if not arg: return phenny.reply('You gave me zero length input.') elif not arg.strip(' '): - return phenny.reply('%s SPACES' % len(arg)) + if len(arg) > 1: return phenny.reply('%s SPACEs (U+0020)' % len(arg)) + return phenny.reply('1 SPACE (U+0020)') # @@ space if set(arg.upper()) - set( -- cgit v1.2.3-1-g7c22