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':
|
if 'HOME' in os.environ and os.name != 'nt':
|
||||||
# HOME is set by WinPython to something unusual, so we don't
|
# 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')
|
return os.path.join(os.environ['HOME'], '.config', 'glymur')
|
||||||
|
|
||||||
if os.name == 'nt':
|
# Last stand. Should handle windows... others?
|
||||||
# Windows.
|
return os.path.join(os.path.expanduser('~'), 'glymur')
|
||||||
return os.path.join(os.path.expanduser('~'), 'glymur')
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue