mirror of
https://github.com/grahampugh/macadmin-scripts.git
synced 2025-12-18 10:16:37 +00:00
decode board ids line
This commit is contained in:
parent
1283058653
commit
445e8054e1
@ -486,7 +486,7 @@ def get_board_ids(filename):
|
||||
supported_board_ids = ""
|
||||
with open(filename) as search:
|
||||
for line in search:
|
||||
line = line.rstrip() # remove '\n' at end of line
|
||||
line = line.decode("utf8").rstrip() # remove '\n' at end of line
|
||||
# dist files for macOS 10.* list boardIDs whereas dist files for
|
||||
# macOS 11.* list supportedBoardIDs
|
||||
if "boardIds" in line:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user