Skip to content

Commit

Permalink
Clarify python paths.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kasper Peeters committed Dec 19, 2024
1 parent aec1596 commit a09349a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions client_server/Server.cc
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,10 @@ void Server::init()

auto python_path = cadabra::install_prefix_of_module();

// FIXME: since the logic above *requires* that we can find the
// `cdb.main` module, we will already have the correct path
// set. So appending it once more below is useless.

std::string stdOutErr =
"import sys\n"
"sys.path.append(r'"+python_path+"')\n"
Expand Down

0 comments on commit a09349a

Please sign in to comment.