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-05-17 08:39:19 (GMT)
committer Walter Bender <walter@walter-laptop.(none)>2009-05-17 08:39:19 (GMT)
commit53a716e25c9bb7ad7e2ff7891e8a70d21796b8e2 (patch)
tree95c018fffaf7f651d1b2ad5015571b6b615188ab /talogo.py
parent4a8ddc1b33486532d7dcb780943387096fd9a8a3 (diff)
updating version number
Diffstat (limited to 'talogo.py')
-rw-r--r--talogo.py10
1 files changed, 2 insertions, 8 deletions
diff --git a/talogo.py b/talogo.py
index 8c22ad2..eba6c3b 100644
--- a/talogo.py
+++ b/talogo.py
@@ -830,14 +830,8 @@ def status_print(lc,n):
elif type(n) == int:
showlabel(lc,n)
else:
- try:
- # show no decimals for ints
- if int(n) == float(n):
- showlabel(lc, int(n))
- else:
- showlabel(lc, int(float(n)*10)/10.)
- except:
- print "problem printing %s or type %s" % n, type(n)
+ # show no decimals for ints
+ showlabel(lc, int(float(n)*10)/10.)
def kbinput(lc):
if len(lc.tw.keypress) == 1: