Skip to content

Commit

Permalink
Update pvsite_forecast.py
Browse files Browse the repository at this point in the history
  • Loading branch information
peterdudfield authored Dec 16, 2024
1 parent 85f0268 commit 8a05f3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pvsite_forecast.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,12 @@ def pvsite_forecast_page():
site_uuids,
)
else:
site_selection_uuid = st.sidebar.selectbox(
client_site_name = st.sidebar.selectbox(
"Select sites by client_site_name",
sorted([sites.client_site_name for sites in sites]),
)
site_selection_uuid = [
sites.site_uuid for sites in sites if sites.client_site_name == site_selection_uuid
sites.site_uuid for sites in sites if sites.client_site_name == client_site_name
][0]

timezone_selected = st.sidebar.selectbox("Select timezone", ["UTC", "Asia/Calcutta"])
Expand Down

0 comments on commit 8a05f3c

Please sign in to comment.