Merge branch 'issue91' into devel
This commit is contained in:
commit
548304d2a9
1 changed files with 3 additions and 4 deletions
|
|
@ -145,9 +145,8 @@ def get_configdir():
|
|||
|
||||
if 'HOME' in os.environ and os.name != 'nt':
|
||||
# HOME is set by WinPython to something unusual, so we don't
|
||||
# want that.
|
||||
# necessarily want that.
|
||||
return os.path.join(os.environ['HOME'], '.config', 'glymur')
|
||||
|
||||
if os.name == 'nt':
|
||||
# Windows.
|
||||
return os.path.join(os.path.expanduser('~'), 'glymur')
|
||||
# Last stand. Should handle windows... others?
|
||||
return os.path.join(os.path.expanduser('~'), 'glymur')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue