From 1a0fc74a803787f0b1c6ed0bcc2f5f648eae5149 Mon Sep 17 00:00:00 2001 From: punix Date: Sun, 10 Nov 2024 20:55:33 +0100 Subject: [PATCH] - fix return 'no Updates' --- cls_mth_fc.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/cls_mth_fc.py b/cls_mth_fc.py index ea80ea2..5bf0de8 100755 --- a/cls_mth_fc.py +++ b/cls_mth_fc.py @@ -32,7 +32,6 @@ class GiteaUpdate: the taskbar image for the “Download OK” window, the taskbar image for the “Download error” window and the variable res """ - @staticmethod def api_down(update_api_url, version): try: @@ -93,7 +92,6 @@ def msg_window(img_w, img_i, w_title, w_txt, txt2=None, com=None): txt2 = Text for Button two com = function for Button command """ - msg = tk.Toplevel() msg.resizable(width=False, height=False) msg.title(w_title) @@ -135,7 +133,6 @@ class Tunnel: The config file is packed into a dictionary, to display the values Address , DNS and Peer in the labels """ - @classmethod def con_to_dict(cls, file): @@ -180,7 +177,6 @@ class Tunnel: """ Shows the Active Tunnel """ - @staticmethod def active(): @@ -195,7 +191,6 @@ class Tunnel: """ Shows all existing Wireguard tunnels """ - @staticmethod def list(): wg_s = os.popen('nmcli con show | grep -iPo "(.*)(wireguard)"').read().split() @@ -209,7 +204,6 @@ class Tunnel: A zipfile with current date and time is created in the user's home directory with correct right """ - @staticmethod def export(): _u1 = str(_u[6:])