Skip to content

Commit 2c37b0c

Browse files
v-zhuravlevsatterly
authored andcommitted
fixed alerta-python on Windows (#175)
1 parent 1155673 commit 2c37b0c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

alertaclient/auth/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
from alertaclient.exceptions import ConfigurationError
77

8-
NETRC_FILE = os.path.join(os.environ['HOME'], '.netrc')
8+
NETRC_FILE = os.path.join(os.path.expanduser('~'), '.netrc')
99

1010

1111
def machine(endpoint):

0 commit comments

Comments
 (0)