Skip to content

Commit

Permalink
fix(sky): Ignore errors when reading file
Browse files Browse the repository at this point in the history
  • Loading branch information
mikkelkp committed Jun 10, 2024
1 parent 7f44ee9 commit bac8647
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion honeybee_radiance/cli/sky.py
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ def abnt_nbr_15575(wea, north, folder, log_file):
also be an .epw. The file is only used to extract the location.
"""
try:
with open(wea) as inf:
with open(wea, errors='ignore') as inf:
first_word = inf.read(5)
is_wea = True if first_word == 'place' else False
if not is_wea:
Expand Down

0 comments on commit bac8647

Please sign in to comment.