bug fix
This commit is contained in:
parent
ae504c9c55
commit
1a4850fff6
|
@ -30,7 +30,6 @@ sg.theme('DarkPurple5')
|
||||||
header = ["name", "HV [V]", "Current [mA]"]
|
header = ["name", "HV [V]", "Current [mA]"]
|
||||||
|
|
||||||
mpod = iseg.Mpod(IP)
|
mpod = iseg.Mpod(IP)
|
||||||
|
|
||||||
if mpod.isConnected == False:
|
if mpod.isConnected == False:
|
||||||
exit()
|
exit()
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,9 @@ class Mpod:
|
||||||
else:
|
else:
|
||||||
self.isConnected = False
|
self.isConnected = False
|
||||||
except :
|
except :
|
||||||
|
self.isConnected = False
|
||||||
print(">>>>>> cannot establish communitation via " + self.IP)
|
print(">>>>>> cannot establish communitation via " + self.IP)
|
||||||
|
|
||||||
|
|
||||||
def SetIP(self, ip):
|
def SetIP(self, ip):
|
||||||
self.__init__(ip)
|
self.__init__(ip)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user