Skip to content

Commit

Permalink
Fixing Windows installation without path initialization file
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koefferlein committed Jan 30, 2024
1 parent 4b7c117 commit 1e51cf6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pya/pya/pya.cc
Original file line number Diff line number Diff line change
Expand Up @@ -290,9 +290,9 @@ PythonInterpreter::PythonInterpreter (bool embedded)
}
}

}
Py_SetPath (tl::to_wstring (path).c_str ());

Py_SetPath (tl::to_wstring (path).c_str ());
}

} catch (tl::Exception &ex) {
tl::error << tl::to_string (tr ("Evaluation of Python path expression failed")) << ": " << ex.msg ();
Expand Down

0 comments on commit 1e51cf6

Please sign in to comment.