Skip to content

Commit

Permalink
Update codelists2ttl_sub-discipline.py
Browse files Browse the repository at this point in the history
  • Loading branch information
antje-s authored Mar 12, 2024
1 parent c1f6e48 commit 8feb642
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/codelists2ttl_sub-discipline.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def read_subdomain_index(index_file):
reader = csv.DictReader(fh)
subreg_baseurl = "http://codes.wmo.int/wis/topic-hierarchy"
for row in reader:
ttl_files_path = f"{ttl_files_path_base}/{row['Name']}"
ttl_files_path = Path(f"{ttl_files_path_base}/{row['Name']}")
subdirectories = True
subregister_url = f"{subreg_baseurl}/{row['Name']}"
subregisters.append(f"<{subregister_url}>")
Expand Down

0 comments on commit 8feb642

Please sign in to comment.