#4866 Fix Python example script

This commit is contained in:
Gaute Lindkvist 2019-10-15 16:03:42 +02:00
parent d3140b6aac
commit d21afc5a41

View File

@ -120,8 +120,8 @@ void RicNewPythonScriptFeature::onActionTriggered( bool isChecked )
{
QTextStream stream( &file );
stream << "# Load ResInsight Processing Server Client Library\nimport rips\n# Connect to ResInsight "
"instance\nresInsight = rips.Instance.find()\n# Example code\nprint(\"ResInsight version: \" + "
"resInsight.app.versionString())\n";
"instance\nresinsight = rips.Instance.find()\n# Example code\nprint(\"ResInsight version: \" + "
"resinsight.version_string())\n";
}
scriptColl->readContentFromDisc();