diff options
author | Walter Bender <walter@sugarlabs.org> | 2013-11-08 13:36:05 (GMT) |
---|---|---|
committer | Walter Bender <walter@sugarlabs.org> | 2013-11-08 13:36:05 (GMT) |
commit | 34d13acd6453f0bfea8ac0c55eec4b737bddea5c (patch) | |
tree | be70abb167ff8ae798cdedb3d23f8b33645a0bf1 /plugins | |
parent | 5c0fb4a31b17e085a90649fca47a37c53b8c7c83 (diff) |
refactor handling of extra code in python export
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/turtle_blocks_extras/turtle_blocks_extras.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/turtle_blocks_extras/turtle_blocks_extras.py b/plugins/turtle_blocks_extras/turtle_blocks_extras.py index 8d5ab91..e6f2989 100644 --- a/plugins/turtle_blocks_extras/turtle_blocks_extras.py +++ b/plugins/turtle_blocks_extras/turtle_blocks_extras.py @@ -787,7 +787,7 @@ module found in the Journal')) string_or_number=True, help_string=_('chooses which turtle to command')) self.tw.lc.def_prim('addturtle', 1, - Primitive(self.tw.turtles.set_turtle, + Primitive(self.tw.lc.prim_turtle, arg_descs=[ArgSlot(TYPE_STRING)])) palette.add_block('turtlex', |