Log when no conf file found

This commit is contained in:
2021-01-15 14:32:01 +01:00
parent 5e43ee8a46
commit 82f6ba0681

View File

@ -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):