From 569882d6f0dbda7237fad8a8740a8d9ef0b86e10 Mon Sep 17 00:00:00 2001
From: Maxime Graulich <maxime.graulich@gmail.com>
Date: Tue, 30 Jun 2015 14:13:35 +0000
Subject: [PATCH] checkPath does not allow the first run

---
 utils/solvers/python/pend.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/utils/solvers/python/pend.py b/utils/solvers/python/pend.py
index b73e52d59f..d253a79573 100755
--- a/utils/solvers/python/pend.py
+++ b/utils/solvers/python/pend.py
@@ -26,7 +26,7 @@ def exportMshOpt():
    optFile.close()
 
 def exportIter(iter,t,x1,y1,x2,y2):
-   mshFile = open(c.checkPath("pend.msh"),'a')
+   mshFile = open(c.getPath("pend.msh"),'a')
    mshFile.write('$NodeData\n1\n"motion"\n1\n\t%f\n3\n\t%d\n3\n' % (t, iter))
    mshFile.write('\t3\n\t1 0 0 0\n\t2 %f %f 0\n\t3 %f %f 0\n$EndNodeData\n' %(x1,y1,x2,y2))
    mshFile.close()
-- 
GitLab