webconfig.py: remove a workaround for Python 2

This commit is contained in:
Johannes Altmanninger
2025-11-27 07:29:01 +01:00
parent 938e780007
commit 7f1b53a9f1

View File

@@ -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