Commit 208297bf authored by Mccaskey, Alex's avatar Mccaskey, Alex
Browse files

adding check for internal plugins file and if not there initialize


Signed-off-by: Mccaskey, Alex's avatarAlex McCaskey <mccaskeyaj@ornl.gov>
parent 9e84ef59
......@@ -120,6 +120,9 @@ def main(argv=None):
initialize()
sys.exit(0)
if not os.path.exists(os.environ['HOME']+'/.xacc/.internal_plugins'):
initialize()
# pyxacc can be installed in site-packages/xacc-...-egg or
# in ${XACC_DIR}/lib/python, we need to figure out which one
xaccLocation = os.path.dirname(os.path.realpath(xacc.__file__))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment