Skip to content

Commit

Permalink
Printing jedi info in the same line.
Browse files Browse the repository at this point in the history
  • Loading branch information
cindytsai committed Aug 26, 2024
1 parent ad2620f commit 9bac05b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/libyt_kernel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ void LibytKernel::configure_impl() {

PyObject* py_module_jedi = PyImport_ImportModule("jedi");
if (py_module_jedi == NULL) {
log_info("Unable to import jedi, jedi auto-completion library is disabled\n");
log_info("See https://jedi.readthedocs.io/ \n");
log_info(
"Unable to import jedi, jedi auto-completion library is disabled (See https://jedi.readthedocs.io/)\n");
m_py_jedi_interpreter = NULL;
} else {
m_py_jedi_interpreter = PyObject_GetAttrString(py_module_jedi, "Interpreter");
Expand Down Expand Up @@ -187,8 +187,8 @@ nl::json LibytKernel::complete_request_impl(const std::string& code, int cursor_

// Check if jedi has successfully import
if (m_py_jedi_interpreter == NULL) {
log_info("Unable to import jedi, jedi auto-completion library is disabled\n");
log_info("See https://jedi.readthedocs.io/ \n");
log_info(
"Unable to import jedi, jedi auto-completion library is disabled (See https://jedi.readthedocs.io/)\n");
return xeus::create_complete_reply({}, cursor_pos, cursor_pos);
}

Expand Down

0 comments on commit 9bac05b

Please sign in to comment.