From ab42249d0f4244337a379a47b5ffb59e95fa1a10 Mon Sep 17 00:00:00 2001 From: "carina@hades" Date: Tue, 9 Aug 2022 12:12:47 -0400 Subject: [PATCH] bug fix --- IsegHVController.py | 1 + IsegLibrary.py | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) 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)