missed updating this when modifying addons module.

This commit is contained in:
Campbell Barton 2011-02-22 09:14:29 +00:00
parent 8186ba15ab
commit 36c6c13a55

@ -428,7 +428,7 @@ int WM_read_homefile(bContext *C, ReportList *reports, short from_memory)
#ifdef WITH_PYTHON
if(CTX_py_init_get(C)) {
/* sync addons, these may have changed from the defaults */
BPY_string_exec(C, "__import__('bpy').utils.addon_reset_all()");
BPY_string_exec(C, "__import__('addon_utils').reset_all()");
BPY_driver_reset();
BPY_modules_load_user(C);