From b42c5ab92c5f34298783be503290d2a07557a12c Mon Sep 17 00:00:00 2001 From: Mathieu Doucet <doucetm@ornl.gov> Date: Mon, 14 Feb 2011 21:03:15 +0000 Subject: [PATCH] Fixed missing import Re #2330 --- Code/Mantid/Framework/PythonAPI/src/SimplePythonAPI.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Code/Mantid/Framework/PythonAPI/src/SimplePythonAPI.cpp b/Code/Mantid/Framework/PythonAPI/src/SimplePythonAPI.cpp index 6348afdfdf8..4a04cde5b7b 100644 --- a/Code/Mantid/Framework/PythonAPI/src/SimplePythonAPI.cpp +++ b/Code/Mantid/Framework/PythonAPI/src/SimplePythonAPI.cpp @@ -50,6 +50,7 @@ namespace Mantid std::ofstream module(getModuleFilename().c_str()); module << "from MantidFramework import *\n"; + module << "from MantidFramework import _makeString\n"; //module << "from MantidFramework import mtd, _makeString\n"; //If in gui mode also need sys and qti module if( gui ) -- GitLab