]> SALOME platform Git repositories - tools/eficas.git/commitdiff
Salome HOME
bug
authorpascale.noyret <pascale.noyret@edf.fr>
Tue, 27 Apr 2021 06:50:35 +0000 (08:50 +0200)
committerpascale.noyret <pascale.noyret@edf.fr>
Tue, 27 Apr 2021 06:50:35 +0000 (08:50 +0200)
Ihm/I_MCSIMP.py

index d1646b4eb2ee8d86095c0535ea83b838ade90269..1883e1bbdfa7921bd22aa7c95266a00b5f4098d5 100644 (file)
@@ -121,7 +121,7 @@ class MCSIMP(I_OBJECT.OBJECT):
                             else : texteVal = texteVal + str(i)+','
                         texteVal=texteVal[:-1]+')'
                     else :
-                        if isinstance(val,bytes) or isinstance(i,str): texteVal="'"+str(val)+"'"
+                        if isinstance(val,bytes) or isinstance(val,str): texteVal="'"+str(val)+"'"
                         else :texteVal=str(val)
                     txt = txt + sep+ texteVal