From 6fd28d57652cb8ac43ffef3fec530cb5385d3f1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Gruszczy=C5=84ski?= Date: Mon, 10 Mar 2025 12:15:31 +0100 Subject: [PATCH] poprawka w format_host --- app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app.py b/app.py index 2e5b3b0..aead127 100644 --- a/app.py +++ b/app.py @@ -394,9 +394,9 @@ def cleanup_old_backups(): def format_host(host): if host.use_daemon and host.type == 'linux' and host.daemon_url: - return f"{host.resolved_daemon} ({host.raw_ip})" + return f"{host.resolved_daemon or host.hostname} ({host.raw_ip})" else: - return f"{host.resolved_hostname} ({host.raw_ip})" + return f"{host.resolved_hostname or host.hostname} ({host.raw_ip})" # ------------------- # LOGOWANIE, REJESTRACJA, ZMIANA HASŁA