mirror of
https://github.com/weechat/weechat.git
synced 2026-07-02 07:46:38 +02:00
python: fix name of function "bar_update" in case of error
This commit is contained in:
@@ -36,6 +36,7 @@ https://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
|
||||
* relay: fix up/down keys on relay buffer (closes #335)
|
||||
* relay: remove v4-mapped addresses in /help relay.network.allowed_ips
|
||||
(closes #325)
|
||||
* python: fix name of function "bar_update" in case of error
|
||||
* python: fix restore of old interpreter when a function is not found in the
|
||||
script
|
||||
* scripts: fix type of value returned by function hdata_time (from string to
|
||||
|
||||
@@ -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