Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWalter Bender <walter@sugarlabs.org>2010-07-29 14:16:43 (GMT)
committer Walter Bender <walter@sugarlabs.org>2010-07-29 14:16:43 (GMT)
commita1cd4a81c243aba28ff54806b6761261b339bbe9 (patch)
treeede9d8c411bcce8673505ce7404dd84a915c5fa4
parent4ee7443dea033a41e6bbe1f0c3ecf1b01a4b4d60 (diff)
better type-checking in taplus
-rw-r--r--talogo.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/talogo.py b/talogo.py
index 09f1e0a..318bb7e 100644
--- a/talogo.py
+++ b/talogo.py
@@ -152,11 +152,11 @@ def taplus(x, y):
if numtype(x):
xx = str(round_int(x))
else:
- xx = x
+ xx = str(x)
if numtype(y):
yy = str(round_int(y))
else:
- yy = y
+ yy = str(y)
return(xx+yy)
def taminus(x, y):