summaryrefslogtreecommitdiffstats
path: root/modules/codepoints.py
diff options
context:
space:
mode:
authorSean B. Palmer <http://inamidst.com/sbp/>2008-10-29 16:03:12 +0000
committerSean B. Palmer <http://inamidst.com/sbp/>2008-10-29 16:03:12 +0000
commitfe16d21212bacc9704a6cd84d3c85a6676936181 (patch)
tree1bdbc0b340e89fbe3255ebd9985fb482afd9f3d5 /modules/codepoints.py
parentb91de3886ecb38b6621dc35fa18a4c7f10fde780 (diff)
downloadbot-fe16d21212bacc9704a6cd84d3c85a6676936181.tar.gz
bot-fe16d21212bacc9704a6cd84d3c85a6676936181.tar.bz2
bot-fe16d21212bacc9704a6cd84d3c85a6676936181.zip
Oblique stuff and fixes.
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(