Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/pyexported
diff options
context:
space:
mode:
authorMarion <marion.zepf@gmail.com>2013-09-08 11:20:20 (GMT)
committer Marion <marion.zepf@gmail.com>2013-09-08 11:20:20 (GMT)
commit6f2d7e4ce822ec2bb2a932a1cb7297919eb5eb6a (patch)
treef89132b32f4d57b277241a41c9591f692a341e1e /pyexported
parent55024843adee06a07c59e6a59312354583694ba0 (diff)
use the tatype.convert() function to type-convert boxes in exported py code
Diffstat (limited to 'pyexported')
-rw-r--r--pyexported/window_setup.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/pyexported/window_setup.py b/pyexported/window_setup.py
index 5e9becf..9586f2c 100644
--- a/pyexported/window_setup.py
+++ b/pyexported/window_setup.py
@@ -49,10 +49,13 @@ from TurtleArt.tautils import (magnitude, get_load_name, get_save_name, data_fro
find_block_to_run, find_top_block, journal_check,
find_group, find_blk_below, data_to_string,
find_start_stack, get_hardware, debug_output,
- error_output, convert, find_bot_block,
+ error_output, find_bot_block,
restore_clamp, collapse_clamp, data_from_string,
increment_name, get_screen_dpi)
from TurtleArt.tasprite_factory import (SVG, svg_str_to_pixbuf, svg_from_file)
+from TurtleArt.tatype import (convert, TYPE_BOOL, TYPE_CHAR, TYPE_COLOR,
+ TYPE_FLOAT, TYPE_INT, TYPE_NUMBER, TYPE_OBJECT,
+ TYPE_NUMERIC_STRING, TYPE_STRING)
from TurtleArt.sprites import (Sprites, Sprite)
if _GST_AVAILABLE: