Skip to content

Commit 8458210

Browse files
Replace id in RegionManager
1 parent 46997b6 commit 8458210

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

datapoint/regions/RegionManager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def get_all_regions(self):
5050
regions = []
5151
for location in response['Locations']['Location']:
5252
region = Site()
53-
region.id = location['@id']
53+
region.location_id = location['@id']
5454
region.region = location['@name']
5555
region.name = REGION_NAMES[location['@name']]
5656
regions.append(region)

0 commit comments

Comments
 (0)