Skip to content

Commit

Permalink
fix(download): Fix bug in reading EPW path
Browse files Browse the repository at this point in the history
  • Loading branch information
chriswmackey committed Oct 8, 2024
1 parent ab271c9 commit d64c49d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ladybug_rhino/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,9 @@ def extract_project_info(project_info_json):
if f.lower().endswith(f_check): # file type found
file_checklist.pop(i)
if f_check == '.epw':
epw_path = f
epw_path = os.path.join(weather_url, f)
elif f_check == '.stat':
stat_path = f
stat_path = os.path.join(weather_url, f)
break
if len(file_checklist) != 0:
msg = 'The following directory does not contain these files '\
Expand Down

0 comments on commit d64c49d

Please sign in to comment.