diff options
author | Daniel Dunbar <daniel@zuster.org> | 2005-04-24 23:32:04 +0400 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2005-04-24 23:32:04 +0400 |
commit | 0094bc92dd05b0d73cd3faa8585459d99927e779 (patch) | |
tree | ba589d4bcd65cca5b5f72a79373cc98dfe98d6a4 | |
parent | a15fbce1de3046c5cbd409dd8d3b5d55570702b3 (diff) |
- EXPP_addScriptLink called wrong error function (I bet the compiler
warned about this...)
-rw-r--r-- | source/blender/python/api2_2x/gen_utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/gen_utils.c b/source/blender/python/api2_2x/gen_utils.c index ecdcc11e9f7..e909de1184c 100644 --- a/source/blender/python/api2_2x/gen_utils.c +++ b/source/blender/python/api2_2x/gen_utils.c @@ -470,7 +470,7 @@ PyObject *EXPP_addScriptLink(ScriptLink *slink, PyObject *args, int is_scene) else if( is_scene && !strcmp( eventname, "OnSave" ) ) event = SCRIPT_ONSAVE; else - return EXPP_ReturnIntError( PyExc_AttributeError, + return EXPP_ReturnPyObjError( PyExc_AttributeError, "invalid event name" ); stmp = slink->scripts; |