Skip to content

Commit

Permalink
Update era_downloader.py
Browse files Browse the repository at this point in the history
  • Loading branch information
bnb32 authored Aug 19, 2023
1 parent 117816a commit f3803a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sup3r/utilities/era_downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ def get_monthly_file(self, interp_workers=None, **interp_kwargs):
if self.run_interp:
self.run_interpolation(max_workers=interp_workers, **interp_kwargs)

if os.path.exists(self.interp_file):
if self.interp_file is not None and os.path.exists(self.interp_file):
if self.already_pruned(self.interp_file):
logger.info(f'{self.interp_file} pruned already.')
else:
Expand Down

0 comments on commit f3803a8

Please sign in to comment.