From 8a4212c101b38093790249426202f7b5e28e1209 Mon Sep 17 00:00:00 2001 From: chirac Date: Thu, 12 Jul 2018 00:02:07 +0200 Subject: [PATCH] =?UTF-8?q?Check=20si=20le=20provisioning=20est=20activ?= =?UTF-8?q?=C3=A9...=20avant=20de=20l'appliquer?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 4d71553..508cdb3 100755 --- a/main.py +++ b/main.py @@ -130,7 +130,7 @@ class Switch: def apply_conf(self): if self.check_and_get_login(): - if self.switch["model"] and self.switch["automatic_provision"] == True: + if self.switch["model"] and self.switch["automatic_provision"] == True and self.settings["provision_switchs_enabled"]: constructor = self.switch["model"]["constructor"].lower() if "hp" in constructor or "aruba" in constructor: self.login_hp()