Skip to content

Commit

Permalink
fixup! Great Big Green Week 2024 import
Browse files Browse the repository at this point in the history
  • Loading branch information
struan committed Sep 17, 2024
1 parent 55db945 commit b1a5f22
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions hub/management/commands/base_generators.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"MTD": "STC",
"NMD": "DIS",
"DIS": "DIS",
"WMC": "WMC",
"WMC": "WMC23",
"WMCF": "WMC23",
}

Expand Down Expand Up @@ -64,8 +64,6 @@ def _process_location(self, lat_lon=None, postcode=None, row_name=None):
gss_codes = mapit.wgs84_point_to_gss_codes_with_type(lon, lat)

for area_type, code in gss_codes.items():
if area_type == "WMC":
area_type = "WMC23"
if mapit_types.get(area_type, None) is not None:
if self.uses_gss:
areas[mapit_types[area_type]] = code
Expand Down

0 comments on commit b1a5f22

Please sign in to comment.