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