Skip to content

Commit

Permalink
adjust euskalmet url
Browse files Browse the repository at this point in the history
  • Loading branch information
erral committed Oct 31, 2023
1 parent 913b056 commit 0102faf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def process_results(input):
for item in output.get('trendsByDate', {}).get('set', []):
id = item.get('weather', {}).get('id', '')
item['weather']['icon_name'] = f'{id}.png'
item['weather']['full_path'] = f"https://api.euskadi.eus{item['weather']['path']}.png"
item['weather']['full_path'] = f"https://api.euskadi.eus/{item['weather']['path']}"
trendsByDate.append(item)
output['trendsByDate'] = trendsByDate

Expand Down

0 comments on commit 0102faf

Please sign in to comment.