diff options
author | Willian Padovani Germano <wpgermano@gmail.com> | 2008-02-13 23:42:36 +0300 |
---|---|---|
committer | Willian Padovani Germano <wpgermano@gmail.com> | 2008-02-13 23:42:36 +0300 |
commit | b58274abef3b0acc347f4b7c9381b40bd5ab9ba7 (patch) | |
tree | bd23b895300b5273fe9e14a74bd8ff42eeac8667 /source/blender/python/api2_2x/Blender.c | |
parent | 71099559047b0f9f45518f2d2356099c07176631 (diff) |
== BPython API ==
Fixing mistake in Blender_ShowHelp() function: argument to Blender_Run() should be passed directly as a string, not encapsulated in a tuple (aka "s", not "(s)").
Diffstat (limited to 'source/blender/python/api2_2x/Blender.c')
-rw-r--r-- | source/blender/python/api2_2x/Blender.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/Blender.c b/source/blender/python/api2_2x/Blender.c index a5a740d3b90..b6ec761f219 100644 --- a/source/blender/python/api2_2x/Blender.c +++ b/source/blender/python/api2_2x/Blender.c @@ -795,7 +795,7 @@ static PyObject *Blender_ShowHelp(PyObject *self, PyObject *script) EXPP_dict_set_item_str(bpy_registryDict, "__help_browser", rkeyd); - arglist = Py_BuildValue("(s)", hspath); + arglist = Py_BuildValue("s", hspath); Blender_Run(self, arglist); Py_DECREF(arglist); |