summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
]