From 6812bbb8a1bd9397bbb7460594be9192508ea519 Mon Sep 17 00:00:00 2001 From: Yoann AUDOUIN Date: Tue, 6 Jun 2017 16:13:36 +0200 Subject: [PATCH] Error --- src/HYDROGUI/HYDROSOLVERGUI.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/HYDROGUI/HYDROSOLVERGUI.py b/src/HYDROGUI/HYDROSOLVERGUI.py index 9cfb6d8..7f95c1e 100755 --- a/src/HYDROGUI/HYDROSOLVERGUI.py +++ b/src/HYDROGUI/HYDROSOLVERGUI.py @@ -427,7 +427,7 @@ def generate_telemac2d_python(): with wait_cursor: ed = hydro_study.HydroStudyEditor() sobj = ed.editor.study.FindObjectID(salome.sg.getSelected(0)) - ed.find_or_create_telemac2d_case(sobj): + ed.find_or_create_telemac2d_case(sobj) except SALOME.SALOME_Exception, exc: salome.sg.updateObjBrowser( 0 ) msg = unicode(QApplication.translate("generate_telemac2d_python", -- 2.39.2