Schweiz: alten Fahrplan ohne Trams nicht mehr laden, nur weil die Echtzeit noch auf ihn verweist

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01X48pE4bzjHej8w9HyZXCjb
This commit is contained in:
Claude
2026-10-22 13:43:07 +02:00
parent e948a69c32
commit be0de5d619
3 changed files with 47 additions and 5 deletions
+1
View File
@@ -332,6 +332,7 @@ def prepare(source: str, state: dict, zip_path: Path | None = None, force: bool
if shaped:
pack_shapes(shaped)
meta["source_file"] = name
meta["format"] = FORMAT
meta["prepared_at"] = int(time.time())
publish(source, shaped or work / "rail", meta)
shutil.rmtree(work, ignore_errors=True)