diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-02-07 01:29:01 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-02-07 01:36:52 +0300 |
commit | 9df460203517a791107c6da816ab21ace803d5f4 (patch) | |
tree | 1e9cea0d9a212fa0a2056428dcfd68d1c0e29ae7 /source/blender/python | |
parent | f11b5549ea2589e42a750392de9ae86ed3a70ff4 (diff) |
PyAPI: message subscribe option arg now optional
Diffstat (limited to 'source/blender/python')
-rw-r--r-- | source/blender/python/intern/bpy_msgbus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/intern/bpy_msgbus.c b/source/blender/python/intern/bpy_msgbus.c index 8dfbf3f6089..ff1189ae924 100644 --- a/source/blender/python/intern/bpy_msgbus.c +++ b/source/blender/python/intern/bpy_msgbus.c @@ -248,7 +248,7 @@ static PyObject *bpy_msgbus_subscribe_rna(PyObject *UNUSED(self), PyObject *args "options", NULL, }; - static _PyArg_Parser _parser = {"$OOO!OO!:subscribe_rna", _keywords, 0}; + static _PyArg_Parser _parser = {"$OOO!O|O!:subscribe_rna", _keywords, 0}; if (!_PyArg_ParseTupleAndKeywordsFast( args, kw, &_parser, &py_sub, &py_owner, |