test with methode for username

This commit is contained in:
2025-05-07 22:42:08 +02:00
parent f4a51f0050
commit ca26576eab
4 changed files with 36 additions and 8 deletions

View File

@ -7,11 +7,11 @@ from pathlib import Path
from subprocess import check_call
from common_tools import LxTools
from wp_app_config import AppConfig
from common_tools import ConfigManager
log_name = ConfigManager.username()
keyfile: Path = Path(
f"/home/{AppConfig.USER_FILE.read_text(encoding="utf-8")}/.config/wire_py/pbwgk.pem"
)
keyfile: Path = Path(f"/home/{log_name}/.config/wire_py/pbwgk.pem")
if not keyfile.is_file():