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-02-10 23:30:07 (GMT)
committer Walter Bender <walter@walter-laptop.(none)>2010-02-10 23:30:07 (GMT)
commite2646c90183d4714972ab480465fcd99f4fa26f1 (patch)
treefea71373e0afee6fb02b1b0eaeab0a965ba1e860 /tawindow.py
parent8fe95c1f768e69f80c719761f1e782be2e4ed3cf (diff)
fixed flow problem
Diffstat (limited to 'tawindow.py')
-rw-r--r--tawindow.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tawindow.py b/tawindow.py
index 3ea29e3..7b70da3 100644
--- a/tawindow.py
+++ b/tawindow.py
@@ -1231,8 +1231,12 @@ class TurtleArtWindow():
while b is not None:
if b.name in COLLAPSIBLE:
return None
+ if b.name in ['repeat', 'if', 'ifelse']:
+ if blk != b.connections[len(b.connections)-1]:
+ return None
if b.name == 'sandwichtop':
return b
+ blk = b
b = b.connections[0]
return None