bug fix
This commit is contained in:
parent
1a4850fff6
commit
ab42249d0f
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user