Skip to content

Commit f7b40da

Browse files
committed
dashboard results can be stored directly in list in fetch_historical_dashboard_data
1 parent e9759cc commit f7b40da

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/acquisition/rvdss/pull_historic.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -561,9 +561,6 @@ def fetch_report_data():
561561
def fetch_historical_dashboard_data():
562562
# Update the end of the 2023-2024 season with the dashboard data
563563
included_urls = fetch_archived_dashboard_urls()
564-
dict_list = [{} for url in included_urls]
565-
566-
for i, base_url in enumerate(included_urls):
567-
dict_list[i]["weekly"] = fetch_dashboard_data(url, 2023)
564+
dict_list = [fetch_dashboard_data(url, 2023) for url in included_urls]
568565

569566
return dict_list

0 commit comments

Comments
 (0)