make tests pass
This commit is contained in:
parent
5c9c482843
commit
890253ba2b
|
@ -606,7 +606,7 @@ class ConfigBase(Borg):
|
||||||
dbg('ConfigBase::load: config already loaded')
|
dbg('ConfigBase::load: config already loaded')
|
||||||
return
|
return
|
||||||
|
|
||||||
if self.command_line_options.config:
|
if self.command_line_options and self.command_line_options.config:
|
||||||
filename = self.command_line_options.config
|
filename = self.command_line_options.config
|
||||||
else:
|
else:
|
||||||
filename = os.path.join(get_config_dir(), 'config')
|
filename = os.path.join(get_config_dir(), 'config')
|
||||||
|
|
Loading…
Reference in New Issue