Log when no conf file found

This commit is contained in:
Luke Murphy 2021-01-15 14:32:01 +01:00
parent 5e43ee8a46
commit 82f6ba0681
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with 1 additions and 0 deletions

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