fixed error when active tunnel is deleted,
now also the Address Label is emptied
This commit is contained in:
@ -187,11 +187,8 @@ class ImportTunnel:
|
||||
wg_read = os.environ['HOME'] + '/tester/' + str(self.a) + '.conf'
|
||||
file = open(wg_read, 'r')
|
||||
data = ConToDict.covert_to_dict(file)
|
||||
self.add = tk.StringVar()
|
||||
self.add.set('Address: ' + data[0])
|
||||
self.DNS = tk.StringVar()
|
||||
self.DNS.set(' DNS: ' + data[1])
|
||||
self.enp = tk.StringVar()
|
||||
self.enp.set('Endpoint: ' + data[2])
|
||||
ShowAddress.show_data(self)
|
||||
file.close()
|
||||
|
Reference in New Issue
Block a user