Skip to content

Commit d7905c8

Browse files
committed
fix typo
1 parent 8814554 commit d7905c8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/acquisition/rvdss/constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
"https://www.canada.ca/en/public-health/services/surveillance/respiratory-virus-detections-canada/2022-2023.html",
7474
"https://www.canada.ca/en/public-health/services/surveillance/respiratory-virus-detections-canada/2023-2024.html"]
7575

76-
ALTENRATIVE_SEASON_BASE_URL = "www.phac-aspc.gc.ca/bid-bmi/dsd-dsm/rvdi-divr/"
76+
ALTERNATIVE_SEASON_BASE_URL = "www.phac-aspc.gc.ca/bid-bmi/dsd-dsm/rvdi-divr/"
7777

7878
SEASON_BASE_URL = "https://www.canada.ca"
7979

src/acquisition/rvdss/rvdss_historic.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from datetime import datetime,timedelta
77
import math
88

9-
from constants import DASHBOARD_BASE_URLS_2023, HISTORIC_SEASON_URL, ALTENRATIVE_SEASON_BASE_URL, SEASON_BASE_URL, LAST_WEEK_OF_YEAR
9+
from constants import DASHBOARD_BASE_URLS_2023, HISTORIC_SEASON_URL, ALTERNATIVE_SEASON_BASE_URL, SEASON_BASE_URL, LAST_WEEK_OF_YEAR
1010
from utils import abbreviate_virus,abbreviate_geo,create_geo_types,check_date_format,get_revised_data,get_weekly_data
1111
#%% Functions
1212

@@ -37,7 +37,7 @@ def report_urls(soup):
3737
# Get links for individual weeks
3838
year= "-".join(get_report_season(soup))
3939
links=soup.find_all('a')
40-
alternative_url = ALTENRATIVE_SEASON_BASE_URL+year
40+
alternative_url = ALTERNATIVE_SEASON_BASE_URL+year
4141

4242
urls = [link.get("href") for link in links if "ending" in str(link) or
4343
alternative_url in str(link)]

0 commit comments

Comments
 (0)