Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--TurtleArt/taturtle.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/TurtleArt/taturtle.py b/TurtleArt/taturtle.py
index 4432204..a22cab6 100644
--- a/TurtleArt/taturtle.py
+++ b/TurtleArt/taturtle.py
@@ -350,6 +350,8 @@ class Turtle:
color = COLORDICT[color][0]
else:
color = self._pen_color
+ elif color is None:
+ color = self._pen_color
try:
self._pen_color = color