Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--TurtleArt/tabasics.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/TurtleArt/tabasics.py b/TurtleArt/tabasics.py
index 07cd6d6..b8cc164 100644
--- a/TurtleArt/tabasics.py
+++ b/TurtleArt/tabasics.py
@@ -84,7 +84,7 @@ def _num_type(x):
try:
ord(x)
return True
- finally:
+ except TypeError:
return False
@@ -1368,7 +1368,7 @@ variable'))
return(x)
try:
return int(ord(x))
- finally:
+ except TypeError:
pass
if isinstance(x, list):
raise logoerror("#syntaxerror")