diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-01-23 13:09:31 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-01-23 13:18:35 +0300 |
commit | 3ff3f563e57e43abeacd5bb4df66d8b6bec0c847 (patch) | |
tree | 434c29c530d5e2beb1b3d305227e9de2f37ded51 /tests/python/bl_load_py_modules.py | |
parent | 2dfe5e30ac43af0c65a7a89d8f6ebb79056eaab7 (diff) |
PyAPI: don't adjust prefs when an fails to load
Recent addons commit meant that addons would be enabled even if they weren't found.
This would give an error (which is fine), but also remove from preferences.
Diffstat (limited to 'tests/python/bl_load_py_modules.py')
-rw-r--r-- | tests/python/bl_load_py_modules.py | 2 |
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 c0ec4ce5144..07905dfa4b4 100644 --- a/tests/python/bl_load_py_modules.py +++ b/tests/python/bl_load_py_modules.py @@ -74,7 +74,7 @@ def load_addons(): for mod in modules: mod_name = mod.__name__ - addon_utils.enable(mod_name) + addon_utils.enable(mod_name, default_set=True) assert(mod_name in addons) |