From 1a4850fff61e998c2e0310b3e1b1fdea5acfc21f Mon Sep 17 00:00:00 2001 From: "carina@hades" Date: Tue, 9 Aug 2022 11:48:42 -0400 Subject: [PATCH] bug fix --- IsegHVController.py | 1 - IsegLibrary.py | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/IsegHVController.py b/IsegHVController.py index 79912f3..7e4807c 100755 --- a/IsegHVController.py +++ b/IsegHVController.py @@ -30,7 +30,6 @@ sg.theme('DarkPurple5') header = ["name", "HV [V]", "Current [mA]"] mpod = iseg.Mpod(IP) - if mpod.isConnected == False: exit() diff --git a/IsegLibrary.py b/IsegLibrary.py index 8db606a..e4e975f 100755 --- a/IsegLibrary.py +++ b/IsegLibrary.py @@ -30,7 +30,9 @@ class Mpod: else: self.isConnected = False except : + self.isConnected = False print(">>>>>> cannot establish communitation via " + self.IP) + def SetIP(self, ip): self.__init__(ip)