04-06-2025_large_update #35
@@ -58,7 +58,6 @@ class Wirepy(tk.Tk):
 | 
			
		||||
    """
 | 
			
		||||
    Class Wirepy this is the Main Window of wirepy
 | 
			
		||||
    """
 | 
			
		||||
 | 
			
		||||
    def __init__(self, *args, **kwargs):
 | 
			
		||||
        super().__init__(*args, **kwargs)
 | 
			
		||||
 | 
			
		||||
@@ -95,7 +94,6 @@ class FrameWidgets(ttk.Frame):
 | 
			
		||||
    """
 | 
			
		||||
    ttk frame class for better structure
 | 
			
		||||
    """
 | 
			
		||||
 | 
			
		||||
    def __init__(self, container, **kwargs):
 | 
			
		||||
        super().__init__(container, **kwargs)
 | 
			
		||||
 | 
			
		||||
@@ -466,7 +464,6 @@ class FrameWidgets(ttk.Frame):
 | 
			
		||||
                self.str_var.set(value="")
 | 
			
		||||
                self.start()
 | 
			
		||||
                self.l_box.update()
 | 
			
		||||
 | 
			
		||||
                self.reset_fields()
 | 
			
		||||
 | 
			
		||||
        except IndexError:
 | 
			
		||||
@@ -556,7 +553,6 @@ class FrameWidgets(ttk.Frame):
 | 
			
		||||
                    key = Tunnel.con_to_dict(file)
 | 
			
		||||
                    pre_key = key[3]
 | 
			
		||||
                    if len(pre_key) != 0:
 | 
			
		||||
                    
 | 
			
		||||
                        p_key = keys.read_text(encoding="utf-8")
 | 
			
		||||
                        if pre_key in p_key or f"{pre_key}\n" in p_key:
 | 
			
		||||
 | 
			
		||||
@@ -602,8 +598,6 @@ class FrameWidgets(ttk.Frame):
 | 
			
		||||
 | 
			
		||||
                                Tooltip(self.wg_autostart, _("To use the autostart, enable this Checkbox"), tips)
 | 
			
		||||
 | 
			
		||||
                                # Tooltip(self.l_box, _("List of available tunnels"))
 | 
			
		||||
 | 
			
		||||
                                Tooltip(self.btn_tr, _("Click to delete a Wireguard Tunnel\nSelect from the list!")
 | 
			
		||||
                                        , tips,)
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user