metadata.py: Fix directory to be created
This commit is contained in:
parent
21ffb24003
commit
95c09e3dae
|
@ -72,6 +72,6 @@ for file in sorted(glob(f"public/{common.ACRONYM}*/index.html")):
|
|||
parser.feed(f.read())
|
||||
metadata = parser.data
|
||||
|
||||
os.makedirs("static/podlove", exist_ok=True)
|
||||
os.makedirs("static/episodes", exist_ok=True)
|
||||
with open(f"static/episodes/{episode}.podlove.json", "w") as f:
|
||||
f.write(json.dumps(metadata))
|
||||
|
|
Loading…
Reference in a new issue