From 543e9982c0adb073cfcd78a9f4c976d81825e332 Mon Sep 17 00:00:00 2001 From: Blake Harnden <32446120+bharnden@users.noreply.github.com> Date: Sat, 2 Apr 2022 22:08:59 -0700 Subject: [PATCH] daemon: apply wireless link label even for 0 to force gui update for now --- daemon/core/nodes/wireless.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/daemon/core/nodes/wireless.py b/daemon/core/nodes/wireless.py index c8010e21..9b34cb5b 100644 --- a/daemon/core/nodes/wireless.py +++ b/daemon/core/nodes/wireless.py @@ -182,10 +182,7 @@ class WirelessNode(CoreNetworkBase): iface.set_config() iface.name, iface.localname = name, localname if options1 == options2: - if options1.is_clear(): - label = "" - else: - label = f"{options1.loss:.2f}%/{options1.delay}us" + label = f"{options1.loss:.2f}%/{options1.delay}us" else: label = ( f"({options1.loss:.2f}%/{options1.delay}us) "