add new methode of get_username() as fallback and add own file_parser for replace con_to_dict
This commit is contained in:
@ -5,13 +5,10 @@ import os
|
||||
import shutil
|
||||
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
|
||||
from common_tools import LxTools
|
||||
|
||||
log_name = ConfigManager.username()
|
||||
|
||||
keyfile: Path = Path(f"/home/{log_name}/.config/wire_py/pbwgk.pem")
|
||||
keyfile: Path = AppConfig.PUBLICKEY
|
||||
|
||||
if not keyfile.is_file():
|
||||
|
||||
|
Reference in New Issue
Block a user