From 35d5df9bf443b7f03857cffc45a1ba4f7e03de94 Mon Sep 17 00:00:00 2001
From: Nathan Craddock <nzcraddock@gmail.com>
Date: Wed, 3 Feb 2021 22:49:41 -0700
Subject: [PATCH] mesh_snap_utilities_line: Update keymap strings

The keymaps were changed in rB01d49d1542c which caused the
script_load_addons test to fail on this addon. Update the strings to the
new values.
---
 mesh_snap_utilities_line/__init__.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/mesh_snap_utilities_line/__init__.py b/mesh_snap_utilities_line/__init__.py
index cf620ed83..623b03550 100644
--- a/mesh_snap_utilities_line/__init__.py
+++ b/mesh_snap_utilities_line/__init__.py
@@ -128,8 +128,8 @@ def register_keymaps():
     #snap_modalkeymap.assign("MESH_OT_snap_utilities_line")
 def unregister_keymaps():
     keyconfigs = bpy.context.window_manager.keyconfigs
-    defaultmap = keyconfigs.get("blender").keymaps
-    addonmap   = keyconfigs.get("blender addon").keymaps
+    defaultmap = keyconfigs.get("Blender").keymaps
+    addonmap   = keyconfigs.get("Blender addon").keymaps
 
     for keyconfig_data in keys.generate_snap_utilities_global_keymaps():
         km_name, km_args, km_content = keyconfig_data
-- 
GitLab