Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tawindow.py
diff options
context:
space:
mode:
authorWalter Bender <walter@walter-laptop.(none)>2010-01-29 19:32:34 (GMT)
committer Walter Bender <walter@walter-laptop.(none)>2010-01-29 19:32:34 (GMT)
commite29368e0ed0fa02ec4de3f368252f0d653257176 (patch)
tree45443916688746bb612e91de0a5b87c176ec8a97 /tawindow.py
parentda3c83800dafe0c9d3cab46cede1fe02cfb66802 (diff)
fixed boolean problem
Diffstat (limited to 'tawindow.py')
-rw-r--r--tawindow.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/tawindow.py b/tawindow.py
index b5b7a3c..ef2e074 100644
--- a/tawindow.py
+++ b/tawindow.py
@@ -263,7 +263,7 @@ class TurtleArtWindow():
return map(int, event.get_coords())
"""
- run turtle!
+ Run turtle!
"""
def run_button(self, time):
if self.running_sugar():
@@ -654,7 +654,6 @@ class TurtleArtWindow():
elif keyname == 'period' and '.' not in oldnum:
newnum = oldnum + '.'
elif keyname == 'BackSpace':
- print "backspace: %s -> %s" % (oldnum, oldnum[:len(oldnum)-1])
if len(oldnum) > 1:
newnum = oldnum[:len(oldnum)-1]
else:
@@ -666,7 +665,6 @@ class TurtleArtWindow():
newnum = oldnum + keyname
else:
newnum = oldnum
- # Add a cursor
self.selected_blk.spr.set_label("%s%s" % \
(str(numcheck(newnum,oldnum)), CURSOR))
@@ -986,6 +984,7 @@ class TurtleArtWindow():
Run stack
"""
def _run_stack(self, blk):
+ # self.block_list.print_list('block')
if blk is None:
return
self.lc.ag = None