summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/plugins/python/weechat-python.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/plugins/python/weechat-python.c b/src/plugins/python/weechat-python.c
index 906ce1615..05bbf1009 100644
--- a/src/plugins/python/weechat-python.c
+++ b/src/plugins/python/weechat-python.c
@@ -808,9 +808,8 @@ weechat_python_load (const char *filename, const char *code)
if (PyErr_Occurred ())
{
weechat_printf (NULL,
- weechat_gettext ("%s%s: unable to create eval script"),
- weechat_prefix ("error"),
- PYTHON_PLUGIN_NAME);
+ weechat_gettext ("%s%s: unable to execute code"),
+ weechat_prefix ("error"), PYTHON_PLUGIN_NAME);
PyErr_Print ();
if (rc)
Py_XDECREF(rc);