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