Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/TurtleArt
diff options
context:
space:
mode:
authorWalter Bender <walter.bender@gmail.com>2011-10-31 17:08:45 (GMT)
committer Walter Bender <walter.bender@gmail.com>2011-10-31 17:08:45 (GMT)
commit8089df6e9d3e48c416551250d9b8fc32ecfbe067 (patch)
tree5acef358f0ab7727b1fce06f4810176de59e2a1b /TurtleArt
parent5e10341a0d569b95ab1dc44a0e63c17fc1919d47 (diff)
changed constamts name to UC
Diffstat (limited to 'TurtleArt')
-rw-r--r--TurtleArt/taturtle.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/TurtleArt/taturtle.py b/TurtleArt/taturtle.py
index 0ca72e4..c7bb768 100644
--- a/TurtleArt/taturtle.py
+++ b/TurtleArt/taturtle.py
@@ -25,7 +25,7 @@ from gettext import gettext as _
from taconstants import TURTLE_LAYER, DEFAULT_TURTLE_COLORS
from tasprite_factory import SVG, svg_str_to_pixbuf
-from tacanvas import wrap100, color_table
+from tacanvas import wrap100, COLOR_TABLE
from sprites import Sprite
from tautils import debug_output
@@ -161,8 +161,8 @@ class Turtle:
elif use_color_table:
fill = wrap100(int_key)
stroke = wrap100(fill + 10)
- self.colors = ['#%06x' % (color_table[fill]),
- '#%06x' % (color_table[stroke])]
+ self.colors = ['#%06x' % (COLOR_TABLE[fill]),
+ '#%06x' % (COLOR_TABLE[stroke])]
self.shapes = generate_turtle_pixbufs(self.colors)
else:
if turtles is not None: