1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-24 03:46:39 +02:00

python: fix name of function "bar_update" in case of error

This commit is contained in:
Sébastien Helleu
2015-03-01 09:47:47 +01:00
parent 79afeb2111
commit 72b8674193
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -4025,7 +4025,7 @@ API_FUNC(bar_update)
{
char *name;
API_INIT_FUNC(1, "bar_item", API_RETURN_ERROR);
API_INIT_FUNC(1, "bar_update", API_RETURN_ERROR);
name = NULL;
if (!PyArg_ParseTuple (args, "s", &name))
API_WRONG_ARGS(API_RETURN_ERROR);