From dc5867815aecf013358455ba7d8d6133c446694f Mon Sep 17 00:00:00 2001 From: Max Zwiessele Date: Wed, 22 Jun 2016 08:29:42 +0100 Subject: [PATCH] [#403] fix of inconsistent config naming --- GPy/util/config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GPy/util/config.py b/GPy/util/config.py index e47848a8..53675efe 100644 --- a/GPy/util/config.py +++ b/GPy/util/config.py @@ -12,7 +12,7 @@ except ImportError: import configparser config = configparser.ConfigParser() from configparser import NoOptionError - + # This is the default configuration file that always needs to be present. default_file = os.path.abspath(os.path.join(os.path.dirname( __file__ ), '..', 'defaults.cfg')) @@ -23,7 +23,7 @@ local_file = os.path.abspath(os.path.join(os.path.dirname( __file__ ), '..', 'in # This specifies configurations specific to the user (it is found in the user home directory) home = os.getenv('HOME') or os.getenv('USERPROFILE') -user_file = os.path.join(home,'.config','gpy', 'user.cfg') +user_file = os.path.join(home,'.config','GPy', 'user.cfg') # Read in the given files. config.readfp(open(default_file))