Skip to content

Commit

Permalink
Update gsp.py
Browse files Browse the repository at this point in the history
  • Loading branch information
pvprajwal committed Jan 17, 2025
1 parent 1516b91 commit d3b9a7d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/gsp.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,9 @@ def get_all_available_forecasts(

if isinstance(gsp_ids, str):
gsp_ids = [int(gsp_id) for gsp_id in gsp_ids.split(",")]

if gsp_ids=='':
gsp_ids=None

if is_fake():
if gsp_ids is None:
gsp_ids = [int(gsp_id) for gsp_id in range(1, GSP_TOTAL)]
Expand Down

0 comments on commit d3b9a7d

Please sign in to comment.