Skip to content

Commit d644719

Browse files
committed
Merge branch 'add-label-read-location'
2 parents a9e7dc4 + e95d52a commit d644719

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nowcasting_datamodel/read/read_gsp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def get_latest_gsp_yield(
2424
:return: either list of gsp yields, or pv systems
2525
"""
2626

27-
gsp_ids = [gsp.id for gsp in gsps]
27+
gsp_ids = [gsp.gsp_id for gsp in gsps]
2828

2929
# start main query
3030
query = session.query(GSPYieldSQL)

0 commit comments

Comments
 (0)