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.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/talogo.py b/talogo.py
index e955adf..145d3aa 100644
--- a/talogo.py
+++ b/talogo.py
@@ -339,11 +339,11 @@ def taequal(x,y):
try:
return float(x)==float(y)
except:
- if type(x) == str:
+ if type(x) == str or type(x) == unicode:
xx = ord(x[0])
else:
xx = x
- if type(y) == str:
+ if type(y) == str or type(y) == unicode:
yy = ord(y[0])
else:
yy = y