From 2bb27eb42080e38476191e23aca99eccc37a49fe Mon Sep 17 00:00:00 2001 From: Saifeddine ALOUI Date: Wed, 6 Dec 2023 01:41:22 +0100 Subject: [PATCH] updated --- app.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app.py b/app.py index 47257096..d3c7d673 100644 --- a/app.py +++ b/app.py @@ -1646,6 +1646,12 @@ try: self.model = self.binding.build_model() for per in self.mounted_personalities: per.model = self.model + else: + self.config.binding_name = None + if self.config.auto_save: + ASCIIColors.info("Saving configuration") + self.config.save_config() + return jsonify({"status": True}) except Exception as ex: ASCIIColors.error(f"Couldn't build binding: [{ex}]")