Skip to content

Config File Does not Expand Environment Variables #3839

@JoshMayberry

Description

@JoshMayberry

If a config file is provided that has an environment variable, such as "%AppData%", it fails.
This can be fixed by changing this line from config_file = os.path.expanduser(config_file) to config_file = os.path.expandvars(os.path.expanduser(config_file))

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bug 🪲Good first issueFriendly and approachable by new contributorsHelp wanted 🙏Outside help would be appreciated, good for new contributors

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions