Skip to content
Snippets Groups Projects
Commit 29a93d68 authored by Papeleux Luc's avatar Papeleux Luc
Browse files

add a comment

parent d443f43b
No related branches found
No related tags found
No related merge requests found
......@@ -348,7 +348,7 @@ class LaunchJob(ParametricJob):
pin.write(b'else:\n')
pin.write(('\tprint ("metafor dir %s not found!")\n'%mtfdir).encode('utf-8'))
pin.write(b'\tsys.exit()\n\n')
#print(('__file__ = r"%s"\n'%os.path.join(mtfdir,'.pythonrc.py')).encode('utf-8'))
# __file__ has to be defined (with absPath) to execute .pythonc.py
pin.write(('__file__ = r"%s"\n'%os.path.join(mtfdir,'.pythonrc.py')).encode('utf-8'))
pin.write(('exec(open(r"%s").read())\n'%os.path.join(mtfdir,'.pythonrc.py')).encode('utf-8'))
pin.write(b'import toolbox.battery as b\n')
......
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