summaryrefslogtreecommitdiff
path: root/src/plugins/scripts/python/weechat-python.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2009-03-29 19:10:28 +0200
committerSebastien Helleu <flashcode@flashtux.org>2009-03-29 19:10:28 +0200
commitef95c69417880f875783b4bed786c16da00dde8e (patch)
tree0c0a6edc20782b05a2a73012127a805cd1ed9daa /src/plugins/scripts/python/weechat-python.c
parent31508fed7090a9a3aaf617a6ec17dd4d8b3eaac9 (diff)
downloadweechat-ef95c69417880f875783b4bed786c16da00dde8e.zip
Fix python error message
Diffstat (limited to 'src/plugins/scripts/python/weechat-python.c')
-rw-r--r--src/plugins/scripts/python/weechat-python.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/scripts/python/weechat-python.c b/src/plugins/scripts/python/weechat-python.c
index 43347218a..a21b6f879 100644
--- a/src/plugins/scripts/python/weechat-python.c
+++ b/src/plugins/scripts/python/weechat-python.c
@@ -189,8 +189,7 @@ weechat_python_exec (struct t_plugin_script *script,
if (ret_value == NULL)
{
weechat_printf (NULL,
- weechat_gettext ("%s%s: not enough memory in "
- "function \"%s\""),
+ weechat_gettext ("%s%s: error in function \"%s\""),
weechat_prefix ("error"), PYTHON_PLUGIN_NAME, function);
/* PyEval_ReleaseThread (python_current_script->interpreter); */
return NULL;