Skip to content

Commit

Permalink
Change "file" to "path"
Browse files Browse the repository at this point in the history
  • Loading branch information
battistowx authored Mar 28, 2024
1 parent 0f74dac commit c251ca6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion earthaccess/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ def _persist_user_credentials(self, username: str, password: str) -> bool:
# Create and write to .dodsrc file
dodsrc_path = Path.home() / ".dodsrc"
if not dodsrc_path.exists():
dodsrc_contents = f"HTTP.COOKIEJAR={urs_cookies_file}\nHTTP.NETRC={netrc_path}"
dodsrc_contents = f"HTTP.COOKIEJAR={urs_cookies_path}\nHTTP.NETRC={netrc_path}"
dodsrc_path.write_text(dodsrc_contents)


Expand Down

0 comments on commit c251ca6

Please sign in to comment.