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

This commit is contained in:
Michel Roux 2024-02-23 12:04:40 +01:00
parent ac8ec0ad37
commit 4fa859f737
1 changed files with 2 additions and 2 deletions

View File

@ -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)