Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/TurtleArt/tabasics.py
diff options
context:
space:
mode:
Diffstat (limited to 'TurtleArt/tabasics.py')
-rw-r--r--TurtleArt/tabasics.py2
1 files changed, 2 insertions, 0 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: