Jabber: Report where Zulip config not found, clarifying typing.
This commit is contained in:
parent
b5c3442b57
commit
d3220eefe7
|
@ -405,7 +405,11 @@ option does not affect login credentials.'''.replace("\n", " "))
|
||||||
format='%(levelname)-8s %(message)s')
|
format='%(levelname)-8s %(message)s')
|
||||||
|
|
||||||
if options.zulip_config_file is None:
|
if options.zulip_config_file is None:
|
||||||
config_file = zulip.get_default_config_filename()
|
default_config_file = zulip.get_default_config_filename()
|
||||||
|
if default_config_file is not None:
|
||||||
|
config_file = default_config_file
|
||||||
|
else:
|
||||||
|
config_error("Config file not found via --zulip-config_file or environment variable.")
|
||||||
else:
|
else:
|
||||||
config_file = options.zulip_config_file
|
config_file = options.zulip_config_file
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue