Skip to content
Snippets Groups Projects
Commit 1b9f93fe authored by Kim Liegeois's avatar Kim Liegeois
Browse files

Katropton: resolve a string bug with python3 in the get_gmsh_version function

parent 9eaeec57
No related branches found
No related tags found
1 merge request!56Katropton: Add supports for Gmsh 4
Pipeline #1392 passed
......@@ -20,7 +20,7 @@ from katropton.eigenvalues import *
def get_gmsh_version():
tmp = subprocess.check_output(["gmsh", "--version"],
stderr=subprocess.STDOUT)
tmp2 = tmp.split('.')
tmp2 = tmp.decode().split('.')
return int(tmp2[0]), int(tmp2[1]), int(tmp2[2])
......
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