Guarded inserts into sys.path.

This commit is contained in:
Jeremy Fincher 2003-09-01 05:59:02 +00:00
parent 011ebfb3d1
commit 0fe7b81874

View File

@ -42,6 +42,8 @@ import sys
import pydoc
import socket
import pprint
if 'src' not in sys.path:
sys.path.insert(0, 'src')
from fix import *
@ -51,6 +53,7 @@ import conf
import ircdb
import ircutils
if conf.pluginDir not in sys.path:
sys.path.insert(0, conf.pluginDir)
if __name__ == '__main__':