bug fix
This commit is contained in:
parent
1a4850fff6
commit
ab42249d0f
|
@ -33,6 +33,7 @@ mpod = iseg.Mpod(IP)
|
||||||
if mpod.isConnected == False:
|
if mpod.isConnected == False:
|
||||||
exit()
|
exit()
|
||||||
|
|
||||||
|
print("============ GUI start")
|
||||||
|
|
||||||
chList = mpod.GetChList()
|
chList = mpod.GetChList()
|
||||||
hvList = mpod.GetAllHV() # get all V
|
hvList = mpod.GetAllHV() # get all V
|
||||||
|
|
|
@ -27,8 +27,9 @@ class Mpod:
|
||||||
print(kaka)
|
print(kaka)
|
||||||
if len(kaka) == 1 :
|
if len(kaka) == 1 :
|
||||||
print(">>>>> cannot get channels list, probably modules switched off\n")
|
print(">>>>> cannot get channels list, probably modules switched off\n")
|
||||||
else:
|
|
||||||
self.isConnected = False
|
self.isConnected = False
|
||||||
|
else:
|
||||||
|
self.isConnected = True
|
||||||
except :
|
except :
|
||||||
self.isConnected = False
|
self.isConnected = False
|
||||||
print(">>>>>> cannot establish communitation via " + self.IP)
|
print(">>>>>> cannot establish communitation via " + self.IP)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user