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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user