diff --git a/alternative_wmiircs/python/wmiirc b/alternative_wmiircs/python/wmiirc index af0d4bfd..ee40f8df 100755 --- a/alternative_wmiircs/python/wmiirc +++ b/alternative_wmiircs/python/wmiirc @@ -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