diff --git a/contrib/onelab/python/onelab.py b/contrib/onelab/python/onelab.py index c3b380b1382955189679e9c72e2f191516efa6cf..ce7fd75a6b0a12e1fbf5112093fe29e9f470cf9c 100755 --- a/contrib/onelab/python/onelab.py +++ b/contrib/onelab/python/onelab.py @@ -205,6 +205,8 @@ class client : def mesh(self, filename) : if not self.socket : return + if filename[0] != '/' : + filename = os.getcwd() + "/" + filename self._send(self._GMSH_PARSE_STRING, 'Mesh 3; Save "' + filename + '";') def sendCommand(self, command) :