Python: Space in example code

This commit is contained in:
Gaute Lindkvist 2019-07-30 14:38:10 +02:00
parent 010b573afb
commit 8d1e8fc022

View File

@ -118,7 +118,7 @@ void RicNewPythonScriptFeature::onActionTriggered(bool isChecked)
else
{
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";
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";
}
scriptColl->readContentFromDisc();