From ec033ea5c429be1eaf91327b728459443fdec5ac Mon Sep 17 00:00:00 2001 From: Wolfgang Fahl Date: Tue, 18 Apr 2023 06:57:13 +0200 Subject: [PATCH] improves previous config message --- profiwiki/profiwiki_core.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/profiwiki/profiwiki_core.py b/profiwiki/profiwiki_core.py index 7c1fc7f..a040024 100644 --- a/profiwiki/profiwiki_core.py +++ b/profiwiki/profiwiki_core.py @@ -70,9 +70,9 @@ def work(self,args): if os.path.isfile(config_path) and not self.config.forceRebuild: # reload the previous configuration e.g. based on container_name only previous_config=self.config.load(config_path) - self.config=previous_config if self.config.verbose: - print("ProfiWiki with previous configuration ...") + print(f"ProfiWiki with previous configuration from {config_path}...") + self.config=previous_config self.config.wikiId=self.config.container_base_name if args.bash: cmd=f"docker exec -it {self.config.container_base_name}-mw /bin/bash"