summaryrefslogtreecommitdiffstats
path: root/Tools/pynche/Main.py
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>1998-10-06 20:44:14 (GMT)
committerBarry Warsaw <barry@python.org>1998-10-06 20:44:14 (GMT)
commit6bfd655c2ac6134d14c9af3fee8dafdb779f06be (patch)
tree613e4180e0ec97e5c4446cead166e34afbc6df32 /Tools/pynche/Main.py
parent4f632357d4be27837608d0817e02b84c65b9dc8c (diff)
downloadcpython-6bfd655c2ac6134d14c9af3fee8dafdb779f06be.zip
cpython-6bfd655c2ac6134d14c9af3fee8dafdb779f06be.tar.gz
cpython-6bfd655c2ac6134d14c9af3fee8dafdb779f06be.tar.bz2
Added the rgb.txt file from X11R6.4, including the license
Diffstat (limited to 'Tools/pynche/Main.py')
-rw-r--r--Tools/pynche/Main.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tools/pynche/Main.py b/Tools/pynche/Main.py
index 4877adc..bbf5533 100644
--- a/Tools/pynche/Main.py
+++ b/Tools/pynche/Main.py
@@ -33,6 +33,7 @@ Where:
__version__ = '1.0'
import sys
+import os
import getopt
import ColorDB
from PyncheWidget import PyncheWidget
@@ -49,6 +50,8 @@ PROGRAM = sys.argv[0]
RGB_TXT = [
# Solaris OpenWindows
'/usr/openwin/lib/rgb.txt',
+ # The X11R6.4 rgb.txt file
+ os.path.join(sys.path[0], 'rgb.txt'),
# add more here
]