Skip to content
Snippets Groups Projects
Commit 42d04e75 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

fix path for mesh()

parent de8a9d08
No related branches found
No related tags found
No related merge requests found
......@@ -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) :
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment