mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-22 00:16:41 +06:00
Merge remote-tracking branch 'origin/master' into develop
This commit is contained in:
commit
05ac5727f2
|
@ -759,9 +759,9 @@ def find_info_json(keyboard):
|
|||
|
||||
# Add in parent folders for least specific
|
||||
for _ in range(5):
|
||||
info_jsons.append(keyboard_parent / 'info.json')
|
||||
if keyboard_parent.parent == base_path:
|
||||
if keyboard_parent == base_path:
|
||||
break
|
||||
info_jsons.append(keyboard_parent / 'info.json')
|
||||
keyboard_parent = keyboard_parent.parent
|
||||
|
||||
# Return a list of the info.json files that actually exist
|
||||
|
|
Loading…
Reference in New Issue
Block a user