another string declared within the HAVE_PYTHON_ENABLED code guards

This commit is contained in:
josh bowden 2023-09-28 14:32:20 +02:00
parent c589a5fa00
commit f72553d049

View File

@ -90,10 +90,9 @@ DamarisSettings::getKeywords(const Parallel::Communication& comm,
std::string disableParaviewXMLstart("!--") ;
std::string disableParaviewXMLfin("--") ;
std::string publishToPython_str("#") ; // to be changed to the name of the PyScript XML element
#ifdef HAVE_PYTHON_ENABLED
// Test if input Python file exists and set the name of the script for <variable ... script="" > )XML elements
std::string publishToPython_str("#") ;
if (pythonFilename != ""){
if (FileExists(pythonFilename, comm)) {
publishToPython_str="PythonScript" ; // the name of the PyScript XML element