diff options
Diffstat (limited to 'tawindow.py')
-rw-r--r-- | tawindow.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tawindow.py b/tawindow.py index 6841d01..4309912 100644 --- a/tawindow.py +++ b/tawindow.py @@ -1606,11 +1606,11 @@ class TurtleArtWindow(): elif btype == 'hspace' or btype == 'identity2': if value is not None: blk.expand_in_x(value) - elif btype == 'list': + elif btype == 'templatelist': for i in range(len(b[4])-4): dy = blk.add_arg() elif btype in BOX_STYLE_MEDIA and len(blk.values)>0: - if blk.values[0] == 'None': + if blk.values[0] == 'None' or blk.values[0] == None: blk.spr.set_image(self.media_shapes[btype+'off'], 1, MEDIA_X, MEDIA_Y) elif btype == 'audio' or btype == 'description': |