Merge remote-tracking branch 'origin/develop' into xap
This commit is contained in:
commit
c2324ff646
3 changed files with 9 additions and 0 deletions
|
|
@ -38,6 +38,10 @@ def _strip_api_content(info_json):
|
|||
if 'matrix_pins' in info_json:
|
||||
info_json.pop('matrix_size', None)
|
||||
|
||||
for feature in ['rgb_matrix', 'led_matrix']:
|
||||
if info_json.get(feature, {}).get("layout", None):
|
||||
info_json[feature].pop('led_count', None)
|
||||
|
||||
return info_json
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue