Skip to content
This repository was archived by the owner on Jul 10, 2024. It is now read-only.

Conversation

@Ape
Copy link
Owner

@Ape Ape commented Mar 10, 2017

Note that this will move '/etc/samsungctl.conf' to '/etc/xdg/samsungctl/samsungctl.conf'. The user config file should remain in '~/.config/samsungctl.conf'.

Note that this will move '/etc/samsungctl.conf' to
'/etc/xdg/samsungctl/samsungctl.conf'. The user config file should remain in
'~/.config/samsungctl.conf'.
@Ape Ape mentioned this pull request Mar 10, 2017
@Ape Ape added this to the 1.0.0 milestone Mar 12, 2017
@vogler
Copy link

vogler commented Nov 22, 2018

Can this be merged? I just wanted to use the pip package on Windows, but it fails b/c os.getenv("HOME") is still used.

@vogler
Copy link

vogler commented Nov 22, 2018

Or just don't search for this file on Windows, it's not really a must-have, no?

@vogler
Copy link

vogler commented Nov 22, 2018

Fixed it like this:

    home = os.getenv("HOME")
    if home:
        directories.append(os.path.join(home, ".config"))

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants