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)