diff options
author | Walter Bender <walter@sugarlabs.org> | 2013-10-31 22:46:57 (GMT) |
---|---|---|
committer | Walter Bender <walter@sugarlabs.org> | 2013-10-31 22:46:57 (GMT) |
commit | 8ff90d1725fee8dcd4a6e51e2001ccab916501ac (patch) | |
tree | 84ca23c73cfc583358344c8fb3157402136aff7d /TurtleArt/taexportpython.py | |
parent | 005bc7ab2c06684ce24eff385ce286bf3f77bf98 (diff) |
global_objects is not an instance variable
Diffstat (limited to 'TurtleArt/taexportpython.py')
-rw-r--r-- | TurtleArt/taexportpython.py | 2 |
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 = '' |