Skip to content
Snippets Groups Projects
Commit 1506d93b authored by Martin Mareš's avatar Martin Mareš
Browse files

Import škol: Existující školy bez RED IZO přeskakujeme

parent eb4db884
Branches
No related tags found
No related merge requests found
......@@ -228,6 +228,9 @@ def get_old_schools() -> DefaultDict[str, List[ProtoSchool]]:
old_schools: DefaultDict[str, List[ProtoSchool]] = defaultdict(list)
for s in schools:
if s.red_izo is None:
print(f'TODO: Škola #{s.place_id} ({s.place.name}) nemá RED IZO')
continue
town = s.place.parent_place
ps = ProtoSchool(
town=town,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment