From a74cdf53e0e0936f23b6bd1035a23f69cb16fe05 Mon Sep 17 00:00:00 2001 From: Alan Aguiar Date: Sat, 16 Nov 2013 11:45:08 +0000 Subject: fix get_shade return type --- (limited to 'TurtleArt') diff --git a/TurtleArt/tabasics.py b/TurtleArt/tabasics.py index 3d88ce4..9954db9 100644 --- a/TurtleArt/tabasics.py +++ b/TurtleArt/tabasics.py @@ -445,7 +445,8 @@ in place of a number block)'), value_block=True, prim_name='shade', logo_command=':shade') - self.tw.lc.def_prim('shade', 0, Primitive(Turtle.get_shade)) + self.tw.lc.def_prim('shade', 0, + Primitive(Turtle.get_shade, return_type=TYPE_NUMBER)) palette.add_block('gray', style='box-style', -- cgit v0.9.1