1
0
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:
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
View File
@@ -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
+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);