From 7f1b53a9f16e39efcef0b4e92b873e8752c6c5e2 Mon Sep 17 00:00:00 2001 From: Johannes Altmanninger Date: Thu, 27 Nov 2025 07:29:01 +0100 Subject: [PATCH] webconfig.py: remove a workaround for Python 2 --- share/tools/web_config/webconfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/tools/web_config/webconfig.py b/share/tools/web_config/webconfig.py index 32e6eddf3..9653aa9a2 100755 --- a/share/tools/web_config/webconfig.py +++ b/share/tools/web_config/webconfig.py @@ -38,7 +38,7 @@ term = os.environ.pop("TERM", None) # which will block the whole process - see https://docs.python.org/3/library/webbrowser.html import webbrowser -if term: +if term is not None: os.environ["TERM"] = term