Skip to content

Commit

Permalink
Refactor fetch.py to include support for Singapore public holidays
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasstrands committed Oct 21, 2024
1 parent 39b0a6d commit a3fcce0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fetch.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@ def process_link(country, link_info, year):
country_name = "France"
elif country == "za":
country_name = "South Africa"
elif country == "sg":
country_name = "Singapore"

print(f"Processing link for {country_name} in {year}...")
url = link_info["url"]
Expand Down

0 comments on commit a3fcce0

Please sign in to comment.