update @ Sun Dec 15 19:02:16 EET 2024

Signed-off-by: Ari Archer <ari@ari.lt>
This commit is contained in:
Arija A. 2024-12-15 19:02:16 +02:00
parent 7dfb5f7a22
commit c2bb3d7d00
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: A50D5B4B599AF8A2

View file

@ -484,7 +484,7 @@ def update_media(config: dict[str, typing.Any]) -> int:
with open("media/media.json", "w") as fp:
log("dumping media.json")
json.dump(MEDIA_INDEX, fp, indent=config["indent"])
json.dump(MEDIA_INDEX, fp, indent=config["indent"] if NCI else None)
return OK