diff options
author | Martin Poirier <theeth@yahoo.com> | 2010-03-29 01:10:48 +0400 |
---|---|---|
committer | Martin Poirier <theeth@yahoo.com> | 2010-03-29 01:10:48 +0400 |
commit | c09476bfee28ab9b48d6e8aabb00063609723bf2 (patch) | |
tree | eb253f28e47630ddef54c261c26f0a8ed4289c8d /release | |
parent | 03c81862c4d0ba472942e86077bf7ce0c8daa5a4 (diff) |
[#21807] Import Key Configuration problems
For some reason, __import__ doesn't recognize the cfg folder as part of the part.
Using exec("import " ... fixes that, but should be investigated further.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/ui/space_userpref.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/ui/space_userpref.py b/release/scripts/ui/space_userpref.py index 9f86c27ca25..4ee1f119f53 100644 --- a/release/scripts/ui/space_userpref.py +++ b/release/scripts/ui/space_userpref.py @@ -1853,7 +1853,7 @@ class WM_OT_keyconfig_import(bpy.types.Operator): else: shutil.move(self.properties.path, path) - __import__(config_name) + exec("import " + config_name) wm = bpy.context.manager wm.active_keyconfig = wm.keyconfigs[config_name] |