Skip to content

Commit

Permalink
Fix year
Browse files Browse the repository at this point in the history
  • Loading branch information
mcarans committed Jan 17, 2025
1 parent 517e237 commit 0f666dc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/hdx/scraper/hno/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,12 @@ def main(
folder = info["folder"]
batch = info["batch"]
configuration = Configuration.read()
today = now_utc()
if not year:
year = getenv("YEAR")
if year:
year = int(year)
today = now_utc()
if not year:
year = today.year
year = int(year)
saved_dir = "saved_data"
if not hpc_basic_auth:
hpc_basic_auth = getenv("HPC_BASIC_AUTH")
Expand Down

0 comments on commit 0f666dc

Please sign in to comment.