Skip to content

Commit a9f2eee

Browse files
committed
fix
1 parent 2fea9cb commit a9f2eee

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
@@ -63,7 +63,7 @@ def get_latest_gsp_yield(
6363

6464
gsp_systems_with_no_gsp_yields = []
6565
for gsp in gsps:
66-
if gsp.id not in gsp_systems_with_gsp_yields_ids:
66+
if gsp.gsp_id not in gsp_systems_with_gsp_yields_ids:
6767
gsp.last_gsp_yield = None
6868

6969
gsp_systems_with_no_gsp_yields.append(gsp)

0 commit comments

Comments
 (0)