fix set_file and remove wg_set variable

This commit is contained in:
2025-04-25 14:42:37 +02:00
parent af702f297b
commit 67ff24f0b6
3 changed files with 16 additions and 12 deletions

View File

@ -372,7 +372,7 @@ class FrameWidgets(ttk.Frame):
pre_key = key[3]
check_call(["nmcli", "connection", "delete", select_tl])
self.l_box.delete(self.select_tunnel[0])
with open(set_filele, "r", encoding="utf-8") as set_f6:
with open(set_file, "r", encoding="utf-8") as set_f6:
lines6 = set_f6.readlines()
if (
select_tl == lines6[7].strip()