Skip to content

Commit

Permalink
fixed error in creating directories
Browse files Browse the repository at this point in the history
  • Loading branch information
annajungbluth committed Feb 26, 2024
1 parent 0da322e commit 203b423
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/goes-download.py
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ def _check_save_dir(save_dir: str) -> bool:
return True
else:
try:
os.mkdir(save_dir)
os.makedirs(save_dir)
return True
except:
msg = "Save directory does not exist"
Expand Down
2 changes: 1 addition & 1 deletion scripts/modis-download.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ def _check_save_dir(save_dir: str) -> bool:
return True
else:
try:
os.mkdir(save_dir)
os.makedirs(save_dir)
return True
except:
msg = "Save directory does not exist"
Expand Down

0 comments on commit 203b423

Please sign in to comment.