mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-06-02 14:45:15 +02:00
more fiddling with the windows path for config.
Where is the windows guru? out playing beach volley?
This commit is contained in:
parent
df118a404d
commit
68709cfa77
1 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,7 @@ config = ConfigParser.ConfigParser()
|
|||
|
||||
home = os.getenv('HOME') or os.getenv('USERPROFILE')
|
||||
user_file = os.path.join(home,'.gpy_config.cfg')
|
||||
default_file = os.path.join('..','gpy_config.cfg')
|
||||
default_file = os.path.abspath(os.path.join(os.path.dirname( __file__ ), '..', 'gpy_config.cfg'))
|
||||
|
||||
# 1. check if the user has a ~/.gpy_config.cfg
|
||||
if os.path.isfile(user_file):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue