Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWalter Bender <walter@sugarlabs.org>2013-10-31 22:46:57 (GMT)
committer Walter Bender <walter@sugarlabs.org>2013-10-31 22:46:57 (GMT)
commit8ff90d1725fee8dcd4a6e51e2001ccab916501ac (patch)
tree84ca23c73cfc583358344c8fb3157402136aff7d
parent005bc7ab2c06684ce24eff385ce286bf3f77bf98 (diff)
global_objects is not an instance variable
-rw-r--r--TurtleArt/taexportpython.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/TurtleArt/taexportpython.py b/TurtleArt/taexportpython.py
index 17950cc..99084f0 100644
--- a/TurtleArt/taexportpython.py
+++ b/TurtleArt/taexportpython.py
@@ -129,7 +129,7 @@ def _action_stack_to_python(block, lc, name="start"):
# TODO: only add the objects we are using
for k in global_objects.keys():
if k not in ['window', 'canvas', 'logo', 'turtles']:
- pre_preamble += " %s = tw.global_objects['%s']\n" % (
+ pre_preamble += " %s = global_objects['%s']\n" % (
k.lower(), k)
else:
pre_preamble = ''