From b0ef86c1a09e8cb4cffe4138fabf122319b063f0 Mon Sep 17 00:00:00 2001 From: Walter Bender Date: Sun, 13 Feb 2011 01:14:20 +0000 Subject: use DEFAULT_TURTLE_COLORS from taconstants --- (limited to 'TurtleArt/tacollaboration.py') diff --git a/TurtleArt/tacollaboration.py b/TurtleArt/tacollaboration.py index e928ac1..d4b7529 100644 --- a/TurtleArt/tacollaboration.py +++ b/TurtleArt/tacollaboration.py @@ -29,6 +29,7 @@ import base64 from TurtleArt.tautils import data_to_string, data_from_string, get_path, \ base64_to_image +from TurtleArt.taconstants import DEFAULT_TURTLE_COLORS try: from sugar import profile @@ -339,7 +340,8 @@ class Collaboration(): else: colors = self._activity.get_colors() if colors is None: - colors = '#008000,#00A000' + colors = '%s,%s' % (DEFAULT_TURTLE_COLORS[0], + DEFAULT_TURTLE_COLORS[1]) return colors -- cgit v0.9.1