Skip to content

Commit

Permalink
Fix whitespace formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
battistowx authored Mar 28, 2024
1 parent 9e767bb commit f4c90f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions earthaccess/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -383,12 +383,12 @@ def _persist_user_credentials(self, username: str, password: str) -> bool:
f"HTTP.COOKIEJAR={urs_cookies_path}\nHTTP.NETRC={netrc_path}"
)
dodsrc_path.write_text(dodsrc_contents)

if platform.system() == "Windows":
local_dodsrc_path = Path.cwd() / dodsrc_path.name
if not local_dodsrc_path.exists():
shutil.copy2(dodsrc_path, local_dodsrc_path)

return True

def _get_cloud_auth_url(
Expand Down

0 comments on commit f4c90f6

Please sign in to comment.