From 67553040b473ae290b877ea1019ce0fd224aeffc Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Tue, 16 Jul 2013 09:27:17 +0000 Subject: [PATCH] ParseString should NOT add ; at the end! --- contrib/onelab/python/onelab.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/contrib/onelab/python/onelab.py b/contrib/onelab/python/onelab.py index 5bcb7bb60b..633a2e5f64 100755 --- a/contrib/onelab/python/onelab.py +++ b/contrib/onelab/python/onelab.py @@ -272,13 +272,12 @@ class client : def sendCommand(self, command) : if not self.socket : return - self._send(self._GMSH_PARSE_STRING, command + ' ;') + self._send(self._GMSH_PARSE_STRING, command) def mergeFile(self, filename) : if not self.socket : return - #self._send(self._GMSH_PARSE_STRING, 'Merge "' + filename + '";') - self._send(self._GMSH_MERGE_FILE,filename) + self._send(self._GMSH_MERGE_FILE, filename) def sendInfo(self, msg) : if not self.socket : -- GitLab