You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Failed to read .tdclirc on windows with following error messages.
C:\Users\hoge>tonicdnscli
Traceback (most recent call last):
File "C:\Python27\Scripts\tonicdnscli-script.py", line 8, in
load_entry_point('tonicdnscli==0.6', 'console_scripts', 'tonicdnscli')()
File "C:\Python27\lib\site-packages\tonicdnscli\command.py", line 387, in main
args = parse_options()
File "C:\Python27\lib\site-packages\tonicdnscli\command.py", line 263, in parse_options
CONFIGFILE = os.environ['HOME'] + '/.tdclirc'
File "C:\Python27\lib\os.py", line 423, in getitem
return self.data[key.upper()]
KeyError: 'HOME'
On windows, os.environ does not have HOME key.
Maybe USERPROFILE will return the home folder of the user on windows.
The text was updated successfully, but these errors were encountered:
Failed to read .tdclirc on windows with following error messages.
C:\Users\hoge>tonicdnscli
Traceback (most recent call last):
File "C:\Python27\Scripts\tonicdnscli-script.py", line 8, in
load_entry_point('tonicdnscli==0.6', 'console_scripts', 'tonicdnscli')()
File "C:\Python27\lib\site-packages\tonicdnscli\command.py", line 387, in main
args = parse_options()
File "C:\Python27\lib\site-packages\tonicdnscli\command.py", line 263, in parse_options
CONFIGFILE = os.environ['HOME'] + '/.tdclirc'
File "C:\Python27\lib\os.py", line 423, in getitem
return self.data[key.upper()]
KeyError: 'HOME'
On windows, os.environ does not have HOME key.
Maybe USERPROFILE will return the home folder of the user on windows.
The text was updated successfully, but these errors were encountered: