Merge branch 'issue91' into devel

This commit is contained in:
John Evans 2013-07-27 19:32:25 -04:00
commit 548304d2a9

View file

@ -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')