diff options
-rw-r--r-- | release/scripts/modules/console_python.py | 2 | ||||
-rw-r--r-- | source/blender/python/intern/bpy_rna.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/modules/console_python.py b/release/scripts/modules/console_python.py index 455eabe377b..425ea210104 100644 --- a/release/scripts/modules/console_python.py +++ b/release/scripts/modules/console_python.py @@ -179,7 +179,7 @@ def execute(context): # special exception. its possible the command loaded a new user interface if hash(sc) != hash(context.space_data): - return + return {'FINISHED'} bpy.ops.console.scrollback_append(text=sc.prompt + line, type='INPUT') diff --git a/source/blender/python/intern/bpy_rna.c b/source/blender/python/intern/bpy_rna.c index a3ff4314002..b83626bc3e9 100644 --- a/source/blender/python/intern/bpy_rna.c +++ b/source/blender/python/intern/bpy_rna.c @@ -6428,7 +6428,7 @@ static int bpy_class_call(bContext *C, PointerRNA *ptr, FunctionRNA *func, Param PyErr_Fetch(&error_type, &error_value, &error_traceback); PyErr_Format(error_type, - "expected class %.200s, function %.200s: incompatible return value%S", + "class %.200s, function %.200s: incompatible return value%S", RNA_struct_identifier(ptr->type), RNA_function_identifier(func), error_value); } |