Compare commits

..

5 Commits

Author SHA1 Message Date
b68908eaef Merge pull request '1.11.1124' (#25) from 1.11.1124 into main
Reviewed-on: #25
2024-11-13 17:51:07 +01:00
c4565ed169 - fix return 'no Updates' 2024-11-10 20:57:52 +01:00
485cfff457 - fix return 'no Updates' 2024-11-10 20:57:19 +01:00
1a0fc74a80 - fix return 'no Updates' 2024-11-10 20:55:33 +01:00
971c86c97f - Translate file de_De complete
- new FrameWidget for rename Entry and rename Button
2024-11-10 20:31:27 +01:00

View File

@ -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:
@ -45,7 +44,7 @@ class GiteaUpdate:
if version[3:] != response_dict['tag_name']:
return response_dict['tag_name']
else:
return _('No Updates')
return 'No Updates'
else:
return 'False'
except requests.exceptions.ConnectionError:
@ -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:])