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

Import škol: Bugfix #2

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