Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/TurtleArt/tautils.py
diff options
context:
space:
mode:
authorWalter Bender <walter@sugarlabs.org>2010-09-23 19:54:26 (GMT)
committer Walter Bender <walter@sugarlabs.org>2010-09-23 19:54:26 (GMT)
commit7b4847ca88d4be77938e090abac11ecdb31b19a8 (patch)
tree026cce20a11cbca40727c689f52ea04dbec2540f /TurtleArt/tautils.py
parentb1a9941704e2a8099c102cca9ed2462fd5641c4d (diff)
fixed problem with loading old-style sandwichtop_no_arm blocks
Diffstat (limited to 'TurtleArt/tautils.py')
-rw-r--r--TurtleArt/tautils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/TurtleArt/tautils.py b/TurtleArt/tautils.py
index d3619f5..9798614 100644
--- a/TurtleArt/tautils.py
+++ b/TurtleArt/tautils.py
@@ -484,7 +484,7 @@ def collapse_stack(top):
else:
_blk.spr.move_relative((_dx, _dy))
# Remove 'sandwichtop' arm
- if top.name == 'sandwichtop':
+ if top.name == 'sandwichtop' or top.name == 'sandwichtop_no_arm':
top.name = 'sandwichtop_no_arm'
else:
top.name = 'sandwichtop_no_arm_no_label'