Skip to content
Snippets Groups Projects
Commit 67fcf2b1 authored by Florent Lamiraux's avatar Florent Lamiraux Committed by Florent Lamiraux florent@laas.fr
Browse files

Do not add current directory in sys.path.

parent c08dafc3
Branches
Tags
No related merge requests found
......@@ -22,10 +22,7 @@
namespace dynamicgraph {
namespace python {
static const std::string pythonPrefix[5] = {
"import sys\n",
"import traceback\n",
"if '' not in sys.path: sys.path.append('')\n",
"sys.argv = ['']\n",
"def display(s): return str(s) if not s is None else None"
};
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment