summaryrefslogtreecommitdiffstats
path: root/modules/codepoints.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/codepoints.py')
-rwxr-xr-xmodules/codepoints.py3
1 files changed, 2 insertions, 1 deletions
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(