diff --git a/contrib/onelab/python/onelab.py b/contrib/onelab/python/onelab.py index 0a203b9be0905e52a0fd603b99deab390ed0bbb3..bebf94661849007e64b8c7e9dd0ce84c9ea7f9de 100755 --- a/contrib/onelab/python/onelab.py +++ b/contrib/onelab/python/onelab.py @@ -254,7 +254,7 @@ class client : p.fromchar(msg).value = val[0] p.choices.extend(val) else : # reset choices list - p.choices = () + p.fromchar(msg).choices = () elif t == self._GMSH_PARAMETER_NOT_FOUND : print ('Unknown parameter %s' %(param.name)) self._send(self._GMSH_PARAMETER, p.tochar())