From b58274abef3b0acc347f4b7c9381b40bd5ab9ba7 Mon Sep 17 00:00:00 2001 From: Willian Padovani Germano Date: Wed, 13 Feb 2008 20:42:36 +0000 Subject: [PATCH] == 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)"). --- source/blender/python/api2_2x/Blender.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);