Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
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
parent4a8ddc1b33486532d7dcb780943387096fd9a8a3 (diff)
updating version number
-rw-r--r--NEWS4
-rw-r--r--activity/activity.info2
-rw-r--r--talogo.py10
3 files changed, 7 insertions, 9 deletions
diff --git a/NEWS b/NEWS
index 2a6df9f..796d286 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,7 @@
+49
+
+* fixed character input bug
+
48
* reworking of media blocks
diff --git a/activity/activity.info b/activity/activity.info
index 5a0a0ad..71da53e 100644
--- a/activity/activity.info
+++ b/activity/activity.info
@@ -1,6 +1,6 @@
[Activity]
name = Turtle Art
-activity_version = 48
+activity_version = 49
license = MIT
bundle_id = org.laptop.TurtleArtActivity
exec = sugar-activity TurtleArtActivity.TurtleArtActivity
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: