summaryrefslogtreecommitdiffstats
path: root/modules/codepoints.py
diff options
context:
space:
mode:
authorSean B. Palmer <http://inamidst.com/sbp/>2008-09-11 17:18:44 +0100
committerSean B. Palmer <http://inamidst.com/sbp/>2008-09-11 17:18:44 +0100
commitb91de3886ecb38b6621dc35fa18a4c7f10fde780 (patch)
treebae59574d4d07b054907dfc207e28dc7768bf2fe /modules/codepoints.py
parent31d107c0bd7fa2e172b09cce9560f3a10c1091af (diff)
downloadbot-b91de3886ecb38b6621dc35fa18a4c7f10fde780.tar.gz
bot-b91de3886ecb38b6621dc35fa18a4c7f10fde780.tar.bz2
bot-b91de3886ecb38b6621dc35fa18a4c7f10fde780.zip
Added oblique.py, a new web services module.
Diffstat (limited to 'modules/codepoints.py')
-rwxr-xr-xmodules/codepoints.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/codepoints.py b/modules/codepoints.py
index 9ae06b5..e2fc39a 100755
--- a/modules/codepoints.py
+++ b/modules/codepoints.py
@@ -70,6 +70,8 @@ def u(phenny, input):
# phenny.msg('#inamidst', '%r' % arg)
if not arg:
return phenny.reply('You gave me zero length input.')
+ elif not arg.strip(' '):
+ return phenny.reply('%s SPACES' % len(arg))
# @@ space
if set(arg.upper()) - set(