🐛 Fix writing json
Some checks failed
dl / lint (push) Failing after 1m3s
dl / docker (push) Has been skipped

This commit is contained in:
Michel Roux 2024-02-23 12:04:40 +01:00
parent ac8ec0ad37
commit 4fa859f737

View File

@ -1,6 +1,6 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
from argparse import ArgumentParser from argparse import ArgumentParser
from json import load from json import load, dump
from pathlib import Path from pathlib import Path
from subprocess import run from subprocess import run
@ -66,4 +66,4 @@ for console in path.iterdir():
# write json # write json
with open(metafile, "w") as file: with open(metafile, "w") as file:
file.write(metas) dump(metas, file)