Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
I meant to turn the path into a string
  • Loading branch information
garlic-os committed Aug 1, 2024
1 parent 19a9d90 commit 0bf14ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/RAiDER/models/credentials.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def check_api(model: str,
# one that belongs to this URL.
import netrc
rc_path.touch()
netrc_credentials = netrc.netrc(rc_path.name)
netrc_credentials = netrc.netrc(str(rc_path))
netrc_credentials.hosts[url] = (uid, '', key)
rc_path.write_text(str(netrc_credentials))
rc_path.chmod(0o000600)
Expand Down

0 comments on commit 0bf14ab

Please sign in to comment.