Skip to content

Commit

Permalink
Refactor fetch.py to use descriptive country names in log messages
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasstrands committed Oct 18, 2024
1 parent ad08314 commit a4509b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fetch.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def process_link(country, link):
if relevant_text:
print(f"Extracting holidays for {country} in {year}...")
extracted_json_str = extract_holidays_with_openai(
relevant_text, country, year
relevant_text, country_name, year
)
data = validate_and_load_json(extracted_json_str)
if data:
Expand Down

0 comments on commit a4509b4

Please sign in to comment.