🐛 Fix writing json
This commit is contained in:
parent
ac8ec0ad37
commit
4fa859f737
@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env python3
|
||||
from argparse import ArgumentParser
|
||||
from json import load
|
||||
from json import load, dump
|
||||
from pathlib import Path
|
||||
from subprocess import run
|
||||
|
||||
@ -66,4 +66,4 @@ for console in path.iterdir():
|
||||
|
||||
# write json
|
||||
with open(metafile, "w") as file:
|
||||
file.write(metas)
|
||||
dump(metas, file)
|
||||
|
Loading…
Reference in New Issue
Block a user