Skip to content

Commit

Permalink
Add default for PROGRAMDATA
Browse files Browse the repository at this point in the history
  • Loading branch information
icleary authored and icleary committed Sep 1, 2022
1 parent fbc02a3 commit f7feb88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion local_ssh_config/ssh/_constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

SSH_CONFIG_INCLUDE_DIRECTIVE = "Include config.d/*"

_PROGRAM_DATA = Path(os.environ["PROGRAMDATA"])
_PROGRAM_DATA = Path(os.getenv("PROGRAMDATA", "C:\\ProgramData"))

WINDOWS_MULTIPASS_DEFAULT_ID_RSA = Path(
_PROGRAM_DATA / Path("Multipass/data/ssh-keys/id_rsa")
Expand Down

0 comments on commit f7feb88

Please sign in to comment.