Skip to content

Commit e95d52a

Browse files
committed
update
1 parent e25a375 commit e95d52a

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)