mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-06-19 17:34:10 -04:00
Adding --generate-config will not help if the user has not specified a config file.
This commit is contained in:
parent
d5a42e9d9c
commit
933ce76057
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ class Config(object):
|
||||||
if file_path is None:
|
if file_path is None:
|
||||||
raise ConfigError(
|
raise ConfigError(
|
||||||
"Missing config for %s."
|
"Missing config for %s."
|
||||||
" Try running again with --generate-config"
|
" You must specify a config file. You can do this with the -c or --config-path option."
|
||||||
% (config_name,)
|
% (config_name,)
|
||||||
)
|
)
|
||||||
if not os.path.exists(file_path):
|
if not os.path.exists(file_path):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue