Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/talogo.py
diff options
context:
space:
mode:
authorWalter Bender <walter@walter-laptop.(none)>2009-07-22 20:34:32 (GMT)
committer Walter Bender <walter@walter-laptop.(none)>2009-07-22 20:34:32 (GMT)
commit3244f8d375400b483f23b5d7b83857be00c23943 (patch)
tree2ab6ddad3510acd1d216bd9c33dc87007be484f0 /talogo.py
parent58a8e5fa2399c35a9cee49a496d35a88eae7fd3e (diff)
fixed unicode/int comp
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