summaryrefslogtreecommitdiff
path: root/src/pyinterp.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/pyinterp.cc')
-rw-r--r--src/pyinterp.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/pyinterp.cc b/src/pyinterp.cc
index ad6f0e07..7125a18b 100644
--- a/src/pyinterp.cc
+++ b/src/pyinterp.cc
@@ -152,9 +152,7 @@ void python_interpreter_t::initialize()
}
}
if (! path_initialized)
- std::cerr
- << _("Warning: Ledger failed to find 'ledger/__init__.py' on the PYTHONPATH")
- << std::endl;
+ warning_(_("Ledger failed to find 'ledger/__init__.py' on the PYTHONPATH"));
}
catch (const error_already_set&) {
PyErr_Print();