Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/python/bl_load_py_modules.py')
-rw-r--r--tests/python/bl_load_py_modules.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/python/bl_load_py_modules.py b/tests/python/bl_load_py_modules.py
index b7b0db76b63..be7f426d993 100644
--- a/tests/python/bl_load_py_modules.py
+++ b/tests/python/bl_load_py_modules.py
@@ -104,7 +104,7 @@ def source_list(path, filename_check=None):
def load_addons():
modules = addon_modules_sorted()
- addons = bpy.context.user_preferences.addons
+ addons = bpy.context.preferences.addons
# first disable all
for mod_name in list(addons.keys()):