class to functions and check=True to subprocess.run

This commit is contained in:
2025-04-18 22:12:18 +02:00
parent 39550b392d
commit 28cc423138
3 changed files with 23 additions and 34 deletions

View File

@ -12,16 +12,16 @@ import tkinter as tk
from pathlib import Path
from subprocess import check_call
from tkinter import filedialog, ttk, TclError
from cls_mth_fc import Tunnel, Create, msg_window, Tipi, GiteaUpdate, UOS
from cls_mth_fc import Tunnel, Create, msg_window, if_tip, GiteaUpdate, uos
UOS.username()
uos()
Create.dir_and_files()
Create.make_dir()
Create.decrypt()
tcl_path = Path("/usr/share/TK-Themes")
wg_set = Path(Path.home() / ".config/wire_py/settings")
wg_tips = Tipi.if_tip(wg_set)
wg_tips = if_tip(wg_set)
dirname = Path("/tmp/tlecdcwg/")
""" 1 = 1. Year, 09 = Month of the Year, 2924 = Day and Year of the Year """