From 3312cb8d2e50a26180086b3d0e1a2789c0b5f73b Mon Sep 17 00:00:00 2001 From: Francois Henrotte <francois.henrotte@ulg.ac.be> Date: Fri, 23 May 2014 12:26:54 +0000 Subject: [PATCH] correction in _setNumberChoices --- contrib/onelab/python/onelab.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/onelab/python/onelab.py b/contrib/onelab/python/onelab.py index 0a203b9be0..bebf946618 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()) -- GitLab