Log when no conf file found
This commit is contained in:
parent
5e43ee8a46
commit
82f6ba0681
@ -139,6 +139,7 @@ class Bot(ClientXMPP):
|
|||||||
config_file_path = Path(self.CONFIG_FILE).absolute()
|
config_file_path = Path(self.CONFIG_FILE).absolute()
|
||||||
|
|
||||||
if not exists(config_file_path) and stdout.isatty():
|
if not exists(config_file_path) and stdout.isatty():
|
||||||
|
self.log.info(f"Did not find {config_file_path}")
|
||||||
self.generate_config_interactively()
|
self.generate_config_interactively()
|
||||||
|
|
||||||
if exists(config_file_path):
|
if exists(config_file_path):
|
||||||
|
Reference in New Issue
Block a user