Commit 81e76f0b authored by Mccaskey, Alex's avatar Mccaskey, Alex
Browse files

fixing bug in service registry


Signed-off-by: Mccaskey, Alex's avatarAlex McCaskey <mccaskeyaj@ornl.gov>
parent c7723d24
......@@ -41,8 +41,8 @@ void ServiceRegistry::initialize() {
if (foundPythonInstall) {
return locals["xaccLocation"].cast<std::string>() + std::string("/lib");
} else {
XACCLogger::instance()->error("ServiceRegistry Error, invalid pyxacc install");
return "";
XACCLogger::instance()->warning("ServiceRegistry Warning, could not find pyxacc install");
return std::string(XACC_INSTALL_DIR) + std::string("/lib");;
}
};
......
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