Skip to content

use expanduser to get home path - fix for windows#115

Merged
kevinegami merged 1 commit intologgly:masterfrom
kevinegami:fix-windows
May 9, 2018
Merged

use expanduser to get home path - fix for windows#115
kevinegami merged 1 commit intologgly:masterfrom
kevinegami:fix-windows

Conversation

@kevinegami
Copy link
Copy Markdown
Contributor

@kevinegami kevinegami commented May 9, 2018

os.environ['HOME'] does not work on windows, os.path.expanduser("~") will work cross platform

@kevinegami kevinegami mentioned this pull request May 9, 2018
@dmr-loggly
Copy link
Copy Markdown

Is there an associated bug ticket for this?

@kevinegami
Copy link
Copy Markdown
Contributor Author

kevinegami commented May 9, 2018

No JIRA. It was found when implementing Jira Ticket: loggly-17274 PR here: #114

@kevinegami kevinegami merged commit 9c1e891 into loggly:master May 9, 2018
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