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>2013-10-31 03:13:46 (GMT)
committer Walter Bender <walter@sugarlabs.org>2013-10-31 03:13:46 (GMT)
commit4d6e0ee7eaeda61de245d541ad26c398be540282 (patch)
tree17d76938ec879098572fd3d4593c942f7f28284b /TurtleArt/tautils.py
parent5d2e211ec8bf54a984b803f90a4de7f9a6bd1fbd (diff)
fix problem with int stack names
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 634ee01..ef80877 100644
--- a/TurtleArt/tautils.py
+++ b/TurtleArt/tautils.py
@@ -819,7 +819,7 @@ def get_stack_name(blk):
return 'stack2'
elif top_block.name == 'hat':
try:
- return top_block.connections[1].values[0]
+ return str(top_block.connections[1].values[0])
except (AttributeError, TypeError, IndexError):
# AttributeError: t_b has no attribute 'connections' or t_b.c[1]
# has no attribute 'value'