Skip to content

Commit

Permalink
make sure system id is an int
Browse files Browse the repository at this point in the history
  • Loading branch information
peterdudfield committed Oct 23, 2024
1 parent dbd6ada commit e80154a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion india_forecast_app/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def get_generation_data(
session=db_session, site_uuids=site_uuids, start_utc=start, end_utc=end
)
# hard code as for the moment
system_id = sites[0].ml_id
system_id = int(sites[0].ml_id)

if len(generation_data) == 0:
log.warning("No generation found for the specified sites/period")
Expand Down

0 comments on commit e80154a

Please sign in to comment.