Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/talogo.py
diff options
context:
space:
mode:
Diffstat (limited to 'talogo.py')
-rw-r--r--talogo.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/talogo.py b/talogo.py
index 4a7e6db..4876f19 100644
--- a/talogo.py
+++ b/talogo.py
@@ -79,6 +79,9 @@ def convert(x, fn):
try:
return fn(x)
except ValueError:
+ xx, flag = chr_to_ord(x)
+ if flag:
+ return fn(xx)
return x
def numtype(x):