Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expand user home directory in config #696

Merged
merged 2 commits into from
Oct 26, 2024

Conversation

torarvid
Copy link
Contributor

When reading the keyring_path from the config file, this would previously fail:

keyring_path=~/foo/bar

(it would need to be /home/peterpan/foo/bar or similar instead)

This commit fixes this issue by wrapping the path in os.path.expanduser

torarvid and others added 2 commits September 26, 2024 10:29
When reading the keyring_path from the config file, this would
previously fail:

keyring_path=~/foo/bar

(it would need to be /home/peterpan/foo/bar or similar instead)

This commit fixes this issue by wrapping the path in os.path.expanduser
@jaraco jaraco merged commit 8e2f8b2 into jaraco:main Oct 26, 2024
14 checks passed
@torarvid torarvid deleted the torarvid/expanduser branch October 26, 2024 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants