parent
26b073f3ea
commit
d49cf72cdb
1 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,7 @@ count["both"] = 0
|
|||
cache = dict()
|
||||
|
||||
if os.path.isfile("licenses.json"):
|
||||
with open("licenses.json") as f:
|
||||
with open("licenses.json", "r") as f:
|
||||
cache = json.load(f)
|
||||
|
||||
for mod in glob.glob("pack/mods/*.toml"):
|
||||
|
@ -108,5 +108,5 @@ with open("wiki/Licenses.md", "w") as f:
|
|||
f.write("Unknown")
|
||||
f.write("</b>\r\n")
|
||||
|
||||
with open("licenses.json") as f:
|
||||
with open("licenses.json", "w") as f:
|
||||
json.dump(cache, f)
|
||||
|
|
Loading…
Reference in a new issue