summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Tools/pynche/Main.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/Tools/pynche/Main.py b/Tools/pynche/Main.py
index 700d2f9..64cd579 100644
--- a/Tools/pynche/Main.py
+++ b/Tools/pynche/Main.py
@@ -103,10 +103,9 @@ def main():
try:
red, green, blue = ColorDB.rrggbb_to_triplet(initialcolor)
except ColorDB.BadColor:
- print 'Bad initial color, using default: %s' % initialcolor
- initialcolor = 'grey50'
try:
- red, green, blue = ColorDB.rrggbb_to_triplet(initialcolor)
+ red, green, blue = ColorDB.rrggbb_to_triplet('#7f7f7f')
+ print 'Bad initial color, using gray50:', initialcolor
except ColorDB.BadColor:
usage(1, 'Cannot find an initial color to use')