diff options
author | Walter Bender <walter@sugarlabs.org> | 2013-07-01 15:02:17 (GMT) |
---|---|---|
committer | Walter Bender <walter@sugarlabs.org> | 2013-07-01 15:02:17 (GMT) |
commit | 8e463c960037c395d5f8368e26e28e0b54c5565e (patch) | |
tree | 20a862ae8ba60a4cd83ce52c69ce47da2e4f7271 | |
parent | ce8a63454d05b7c9478b7460687184128e6bc78c (diff) |
fixed bug in set_color logic
-rw-r--r-- | TurtleArt/taturtle.py | 2 |
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 |