projects
/
web
/
firmware-selector-openwrt-org.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
015ce2e
)
decode profiles.json content from bytes to string
author
Moritz Warning
<moritzwarning@web.de>
Thu, 20 Aug 2020 11:39:20 +0000
(13:39 +0200)
committer
Moritz Warning
<moritzwarning@web.de>
Thu, 20 Aug 2020 12:43:02 +0000
(14:43 +0200)
misc/collect.py
patch
|
blob
|
history
diff --git
a/misc/collect.py
b/misc/collect.py
index 73370abb7ac06b444d95e5e4110dd8e7333f6ccf..e22d4197a795296a28831b952283c16263f32aaa 100755
(executable)
--- a/
misc/collect.py
+++ b/
misc/collect.py
@@
-50,7
+50,7
@@
def merge_profiles(profiles, download_url):
output["models"][title]["code"] = code
for path, content in profiles.items():
- obj = json.loads(content)
+ obj = json.loads(content
.decode("utf-8")
)
if obj["metadata_version"] != SUPPORTED_METADATA_VERSION:
sys.stderr.write(