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]