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

@ -6,11 +6,9 @@ import shutil
from pathlib import Path
from subprocess import check_call
from wp_app_config import AppConfig
from common_tools import ConfigManager
uname: Path = Path("/tmp/.log_user")
log_name = Path(uname).read_text(encoding="utf-8")
log_name: str = ConfigManager.username()
keyfile: Path = Path(f"/home/{log_name}/.config/wire_py/pbwgk.pem")
# PKEYFILE: Path = "/usr/local/etc/ssl/pwgk.pem"