mirror of
https://github.com/RROrg/rr.git
synced 2025-06-21 05:51:05 +08:00
fix getmodels
This commit is contained in:
parent
ccebffd86b
commit
dfd2b62698
@ -61,7 +61,7 @@ def getmodels(workpath, jsonpath, xlsxpath):
|
|||||||
ws = wb.active
|
ws = wb.active
|
||||||
ws.append(["platform", "productvers", "Model"])
|
ws.append(["platform", "productvers", "Model"])
|
||||||
for k, v in models.items():
|
for k, v in models.items():
|
||||||
ws.append([k, v["productvers"], v["models"]])
|
ws.append([k, str(v["productvers"]), str(v["models"])])
|
||||||
wb.save(xlsxpath)
|
wb.save(xlsxpath)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user