diff options
author | Walter Bender <walter@sugarlabs.org> | 2011-02-06 17:47:15 (GMT) |
---|---|---|
committer | Walter Bender <walter@sugarlabs.org> | 2011-02-06 17:47:15 (GMT) |
commit | 903a46158ea8daa17ebf9968ec6fab071345d736 (patch) | |
tree | b64b862b1cd84cac7fadae3fa2cf48bbd8e3eb9a | |
parent | 7f9ffd64145a44ac7701f5bfd130cb19d0be39a6 (diff) |
handle colors is None case
-rw-r--r-- | TurtleArt/tacollaboration.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/TurtleArt/tacollaboration.py b/TurtleArt/tacollaboration.py index 2b1c074..0bebe67 100644 --- a/TurtleArt/tacollaboration.py +++ b/TurtleArt/tacollaboration.py @@ -314,6 +314,8 @@ class Collaboration(): colors = profile.get_color().to_string() else: colors = self._activity.get_colors() + if colors is None: + colors = ['#008000', '#00A000'] return colors |