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

Crash on Windows #22

Closed
ghost opened this issue Sep 11, 2020 · 3 comments
Closed

Crash on Windows #22

ghost opened this issue Sep 11, 2020 · 3 comments

Comments

@ghost
Copy link

ghost commented Sep 11, 2020

The Python library crashes on Windows because __init__.py relies on the HOME environment variable to be set in like 21. Instead, pathlib should be used:

from pathlib import Path
_DEFAULT_CONFIG_FILE = os.path.join(str(Path.home()), ".exoscale", "config.toml")
@Patralos
Copy link

+1

pyr added a commit that referenced this issue Mar 14, 2021
@pyr
Copy link
Contributor

pyr commented Mar 14, 2021

Thanks for the report, will address shortly

@pyr pyr closed this as completed in fb83b92 Mar 15, 2021
@falzm
Copy link
Contributor

falzm commented Mar 15, 2021

Fixed in 0.5.0.

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

No branches or pull requests

3 participants