mirror of
https://github.com/onyx-and-iris/nvda-addon-voicemeeter.git
synced 2025-01-18 04:30:48 +00:00
removes unnecessary import
This commit is contained in:
parent
2db268551c
commit
e9b9295a46
@ -1,4 +1,4 @@
|
||||
from . import config, util
|
||||
from . import config
|
||||
from .kinds import request_kind_map
|
||||
|
||||
|
||||
@ -44,7 +44,7 @@ def _make_gestures(kind_id):
|
||||
defaults[f"kb:NVDA+shift+{i}"] = "bus_assignment"
|
||||
abc = config.get("keybinds")
|
||||
if abc:
|
||||
overrides = {f"kb:{util.remove_prefix(k, 'kb:')}": v for k, v in abc.items()}
|
||||
overrides = {f"kb:{remove_prefix(k, 'kb:')}": v for k, v in abc.items()}
|
||||
matching_values = set(defaults.values()).intersection(set(overrides.values()))
|
||||
defaults = {k: v for k, v in defaults.items() if v not in matching_values}
|
||||
return {**defaults, **overrides}
|
||||
|
Loading…
Reference in New Issue
Block a user