Skip to content
Snippets Groups Projects
Commit 2800a8d0 authored by Sander, Oliver's avatar Sander, Oliver
Browse files

Use relative path to specify location of Python files

Previously, the layout of my computer's file system was
hard-coded here.
parent 1185b192
No related branches found
No related tags found
No related merge requests found
......@@ -130,7 +130,8 @@ int main (int argc, char *argv[])
//feenableexcept(FE_INVALID);
Python::runStream()
<< std::endl << "import sys"
<< std::endl << "sys.path.append('/home/sander/dune/dune-gfe/problems')"
<< std::endl << "import os"
<< std::endl << "sys.path.append(os.getcwd() + '/../../problems/')"
<< std::endl;
......
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