Prepend $WMII_CONFPATH to $PYTHONPATH rather than appending it.

This commit is contained in:
Kris Maglione 2009-10-01 00:23:27 -04:00
parent 8a4ccf526b
commit 1a81a510f3

View File

@ -1,7 +1,9 @@
#!/usr/bin/env python
import os, sys
path = []
for p in os.environ.get("WMII_CONFPATH", "").split(':'):
sys.path += [p, p + '/python']
path += [p, p + '/python']
sys.path = path + sys.path
import pygmi
import wmiirc