2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-12-16 10:07:25 +00:00

remove exact station

This commit is contained in:
2023-10-12 00:58:20 +03:00
parent 3b1fd56fe4
commit d3a7a9823a
10 changed files with 14 additions and 58 deletions

View File

@@ -54,7 +54,7 @@ class MapLocations(object):
def points(self):
prior = len(self.p)
for ent in Entrance.objects.all():
for st, ent_type in {ent.exact_station: "exact", ent.other_station: "other", ent.tag_station: "tag"}.items():
for st, ent_type in {ent.other_station: "other", ent.tag_station: "tag"}.items():
if st != "":
self.p.append((st, str(ent), ent.needs_surface_work(), ent))
store_data_issues()
@@ -102,7 +102,7 @@ def validate_entrance_stations(ent=None):
else:
print(f"BUGGER {ent} {ent.cavelist()}")
url="/caves"
for st, ent_type in {ent.exact_station: "exact", ent.other_station: "other", ent.tag_station: "tag"}.items():
for st, ent_type in {ent.other_station: "other", ent.tag_station: "tag"}.items():
if st == "":
continue
try: