diff options
author | Walter 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) |
commit | 53a716e25c9bb7ad7e2ff7891e8a70d21796b8e2 (patch) | |
tree | 95c018fffaf7f651d1b2ad5015571b6b615188ab /talogo.py | |
parent | 4a8ddc1b33486532d7dcb780943387096fd9a8a3 (diff) |
updating version number
Diffstat (limited to 'talogo.py')
-rw-r--r-- | talogo.py | 10 |
1 files changed, 2 insertions, 8 deletions
@@ -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: |