diff options
author | Walter 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) |
commit | 3244f8d375400b483f23b5d7b83857be00c23943 (patch) | |
tree | 2ab6ddad3510acd1d216bd9c33dc87007be484f0 /talogo.py | |
parent | 58a8e5fa2399c35a9cee49a496d35a88eae7fd3e (diff) |
fixed unicode/int comp
Diffstat (limited to 'talogo.py')
-rw-r--r-- | talogo.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |