Repair remotinator
This commit is contained in:
parent
ed5a4040bc
commit
67419e2751
|
@ -538,9 +538,12 @@ class ConfigBase(Borg):
|
||||||
dbg('ConfigBase::load: config already loaded')
|
dbg('ConfigBase::load: config already loaded')
|
||||||
return
|
return
|
||||||
|
|
||||||
|
if self.command_line_options:
|
||||||
if not self.command_line_options.config:
|
if not self.command_line_options.config:
|
||||||
self.command_line_options.config = os.path.join(get_config_dir(), 'config')
|
self.command_line_options.config = os.path.join(get_config_dir(), 'config')
|
||||||
filename = self.command_line_options.config
|
filename = self.command_line_options.config
|
||||||
|
else:
|
||||||
|
filename = os.path.join(get_config_dir(), 'config')
|
||||||
|
|
||||||
dbg('looking for config file: %s' % filename)
|
dbg('looking for config file: %s' % filename)
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue