From 1585a2fb703fcaad8295b2e605faab2f1260106f Mon Sep 17 00:00:00 2001 From: Daniel Markstedt Date: Thu, 9 Nov 2023 08:30:12 +0900 Subject: [PATCH] Notify when network bridge is missing, but allow attaching DP --- python/web/src/web_utils.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/python/web/src/web_utils.py b/python/web/src/web_utils.py index f407c9c781..69af618bae 100644 --- a/python/web/src/web_utils.py +++ b/python/web/src/web_utils.py @@ -298,9 +298,8 @@ def is_bridge_configured(interface): return_msg = _( "Configure the network bridge for %(interface)s first: ", interface=interface ) - return {"status": False, "msg": return_msg + ", ".join(to_configure)} - return {"status": True, "msg": return_msg} + return {"status": True, "msg": return_msg + ", ".join(to_configure)} def is_safe_path(file_name):