summaryrefslogtreecommitdiffstats
path: root/modules/codepoints.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/codepoints.py')
-rwxr-xr-xmodules/codepoints.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/codepoints.py b/modules/codepoints.py
index 797fada..9ae06b5 100755
--- a/modules/codepoints.py
+++ b/modules/codepoints.py
@@ -75,7 +75,9 @@ def u(phenny, input):
if set(arg.upper()) - set(
'ABCDEFGHIJKLMNOPQRSTUVWYXYZ0123456789- .?+*{}[]\\/^$'):
printable = False
- else: printable = True
+ elif len(arg) > 1:
+ printable = True
+ else: printable = False
if printable:
extended = False