Add a couple of handy debugging statements for config file/dir problems
This commit is contained in:
parent
b054402048
commit
7253eda0c8
@ -513,6 +513,7 @@ class ConfigBase(Borg):
|
||||
return
|
||||
|
||||
filename = os.path.join(get_config_dir(), 'config')
|
||||
dbg('looking for config file: %s' % filename)
|
||||
try:
|
||||
configfile = open(filename, 'r')
|
||||
except Exception, ex:
|
||||
|
@ -174,6 +174,7 @@ def get_config_dir():
|
||||
except KeyError:
|
||||
configdir = os.path.join(os.path.expanduser('~'), '.config')
|
||||
|
||||
dbg('Found config dir: %s' % configdir)
|
||||
return(os.path.join(configdir, 'terminator'))
|
||||
|
||||
def dict_diff(reference, working):
|
||||
|
Loading…
Reference in New Issue
Block a user