diff options
author | Philip Sargent <philip.sargent@gmail.com> | 2023-10-12 00:58:20 +0300 |
---|---|---|
committer | Philip Sargent <philip.sargent@gmail.com> | 2023-10-12 00:58:20 +0300 |
commit | d3a7a9823a025f84921561882b3049765105d7fa (patch) | |
tree | bdb946fda56bcaba13ace17a35dd8bcbc5cd8020 /parsers/locations.py | |
parent | 3b1fd56fe4b09ffc9203c3109fcd05ff440732ef (diff) | |
download | troggle-d3a7a9823a025f84921561882b3049765105d7fa.tar.gz troggle-d3a7a9823a025f84921561882b3049765105d7fa.tar.bz2 troggle-d3a7a9823a025f84921561882b3049765105d7fa.zip |
remove exact station
Diffstat (limited to 'parsers/locations.py')
-rw-r--r-- | parsers/locations.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/parsers/locations.py b/parsers/locations.py index acf41b9..568e79b 100644 --- a/parsers/locations.py +++ b/parsers/locations.py @@ -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: |