fix for "inputs" not exists in vdf

This commit is contained in:
Detanup01 2024-09-15 21:46:09 +02:00 committed by GitHub
parent 0dcafc5cb8
commit f7fe813310
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -29,6 +29,8 @@ keymap_digital = {
}
def add_input_bindings(group, bindings, force_binding=None, keymap=keymap_digital):
if "inputs" not in group:
return bindings
for i in group["inputs"]:
for act in group["inputs"][i]:
for fp in group["inputs"][i][act]: