diff --git a/IsegHVController.py b/IsegHVController.py index 7e4807c..045f271 100755 --- a/IsegHVController.py +++ b/IsegHVController.py @@ -33,6 +33,7 @@ mpod = iseg.Mpod(IP) if mpod.isConnected == False: exit() +print("============ GUI start") chList = mpod.GetChList() hvList = mpod.GetAllHV() # get all V diff --git a/IsegLibrary.py b/IsegLibrary.py index e4e975f..1473abc 100755 --- a/IsegLibrary.py +++ b/IsegLibrary.py @@ -27,8 +27,9 @@ class Mpod: print(kaka) if len(kaka) == 1 : print(">>>>> cannot get channels list, probably modules switched off\n") - else: self.isConnected = False + else: + self.isConnected = True except : self.isConnected = False print(">>>>>> cannot establish communitation via " + self.IP)