mirror of
https://github.com/0intro/wmii
synced 2024-11-22 05:42:05 +03:00
Prepend $WMII_CONFPATH to $PYTHONPATH rather than appending it.
This commit is contained in:
parent
8a4ccf526b
commit
1a81a510f3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user