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()
|
||||
|
||||
if not exists(config_file_path) and stdout.isatty():
|
||||
self.log.info(f"Did not find {config_file_path}")
|
||||
self.generate_config_interactively()
|
||||
|
||||
if exists(config_file_path):
|
||||
|
|
Loading…
Reference in New Issue