Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--TurtleArt/tabasics.py2
-rw-r--r--plugins/turtle_blocks_extras/turtle_blocks_extras.py4
2 files changed, 5 insertions, 1 deletions
diff --git a/TurtleArt/tabasics.py b/TurtleArt/tabasics.py
index 5a158b3..fee1b12 100644
--- a/TurtleArt/tabasics.py
+++ b/TurtleArt/tabasics.py
@@ -1173,6 +1173,8 @@ variable'))
def _prim_less(self, x, y):
""" Compare numbers and strings """
+ if type(x) == list or type(y) == list:
+ raise logoerror("#syntaxerror")
try:
return float(x) < float(y)
except ValueError:
diff --git a/plugins/turtle_blocks_extras/turtle_blocks_extras.py b/plugins/turtle_blocks_extras/turtle_blocks_extras.py
index 0ab049a..4a71381 100644
--- a/plugins/turtle_blocks_extras/turtle_blocks_extras.py
+++ b/plugins/turtle_blocks_extras/turtle_blocks_extras.py
@@ -1004,7 +1004,9 @@ bullets'))
""" Print object n """
if flag and (self.tw.hide or self.tw.step_time == 0):
return
- if type(n) == str or type(n) == unicode:
+ if type(n) == list:
+ self.tw.showlabel('status', n)
+ elif type(n) == str or type(n) == unicode:
if n[0:6] == 'media_' and \
n[6:].lower not in media_blocks_dictionary:
try: