diff options
Diffstat (limited to 'source/blender/python/intern/bpy_interface.c')
-rw-r--r-- | source/blender/python/intern/bpy_interface.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/python/intern/bpy_interface.c b/source/blender/python/intern/bpy_interface.c index 7c54c728a05..2662890f3c8 100644 --- a/source/blender/python/intern/bpy_interface.c +++ b/source/blender/python/intern/bpy_interface.c @@ -72,9 +72,9 @@ void BPY_run_python_script( bContext *C, const char *fn ) PyObject *py_dict, *py_result; char pystring[512]; PyGILState_STATE gilstate; - + /* TODO - look into a better way to run a file */ - sprintf(pystring, "exec(open(r'%s').read())", fn); + sprintf(pystring, "exec(open(r'%s').read())", fn); BPY_start_python(); |