use sys.path.insert() instead of sys.path.append() to avoid conflicts with other python packages

This commit is contained in:
Axel Kohlmeyer
2022-08-25 07:25:13 -04:00
parent 50f7b98821
commit 04224e2b53
8 changed files with 8 additions and 8 deletions

View File

@ -14,7 +14,7 @@ from __future__ import print_function
import sys,os,argparse
path = os.environ["LAMMPS_PYTHON_TOOLS"]
sys.path.append(path)
sys.path.insert(1,path)
from log import log
# set up arg parser