From: NATHALIE GORE Date: Tue, 22 Jun 2021 13:12:01 +0000 (+0200) Subject: Working again X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2a2eeeeae5b3fdc24e0a182781c5d5e5004210b7;p=modules%2Fshaper.git Working again --- diff --git a/src/PythonAddons/macros/pipeNetwork/feature.py b/src/PythonAddons/macros/pipeNetwork/feature.py index a1fd2ee4b..c2e872c77 100755 --- a/src/PythonAddons/macros/pipeNetwork/feature.py +++ b/src/PythonAddons/macros/pipeNetwork/feature.py @@ -25,9 +25,7 @@ Author: Nathalie Gore __revision__ = "V02.02" from salome.shaper import model - import ModelAPI - from GeomAPI import * class pipeNetwork(model.Feature): @@ -123,7 +121,7 @@ class pipeNetwork(model.Feature): print(line) diagno = 0 if method == self.twopartwo : - if isinstance(self.connectivities,dict) : + if self.connectivities == {} : print("nouvelle ligne - Cas 1") self.newConnectivity(splitLine[0], splitLine) else :