mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-27 04:29:24 -05:00
Fix bug while generating the error message when a file path specified in the config doesn't exist
This commit is contained in:
parent
036516d647
commit
6380ead2ee
@ -44,9 +44,9 @@ class Config(object):
|
|||||||
)
|
)
|
||||||
if not os.path.exists(file_path):
|
if not os.path.exists(file_path):
|
||||||
raise ConfigError(
|
raise ConfigError(
|
||||||
"File % config for %s doesn't exist."
|
"File %s config for %s doesn't exist."
|
||||||
" Try running again with --generate-config"
|
" Try running again with --generate-config"
|
||||||
% (config_name,)
|
% (file_path, config_name,)
|
||||||
)
|
)
|
||||||
return cls.abspath(file_path)
|
return cls.abspath(file_path)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user