diff options
author | QMK Bot <hello@qmk.fm> | 2022-03-26 19:15:58 +0000 |
---|---|---|
committer | QMK Bot <hello@qmk.fm> | 2022-03-26 19:15:58 +0000 |
commit | 05ac5727f2b594c4745fdcbd15c2130b6d2a9b6b (patch) | |
tree | 6144fe3ca4ffe412bab1f78f3ce134c661a3700c /lib | |
parent | c05e8afe454bf3706d69314c251dc5266c557007 (diff) | |
parent | 55e5daa868c692e686a96997a4a12cb65c348382 (diff) | |
download | qmk_firmware-05ac5727f2b594c4745fdcbd15c2130b6d2a9b6b.tar.gz qmk_firmware-05ac5727f2b594c4745fdcbd15c2130b6d2a9b6b.zip |
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'lib')
-rw-r--r-- | lib/python/qmk/info.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/python/qmk/info.py b/lib/python/qmk/info.py index 900cddaaa9..1d81b3e94b 100644 --- a/lib/python/qmk/info.py +++ b/lib/python/qmk/info.py @@ -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 |