diff --git a/metadata/scripts/metadatas.py b/metadata/scripts/metadatas.py index fb9bdff9..8caa615b 100644 --- a/metadata/scripts/metadatas.py +++ b/metadata/scripts/metadatas.py @@ -65,10 +65,10 @@ async def update_metadata_from_github(overwrite: bool = True): started = False cell = [] async for line in response.aiter_lines(): - if line == " {\n": + if line == " {\n": started = True continue - if line in [" },\n", " }\n"]: + if line in [" },\n", " }\n"]: started = False if any("MATERIAL_NAMECARD" in x for x in cell): material_json_data.append(json.loads("{" + "".join(cell) + "}"))