mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-29 10:31:14 -03:00
webconfig.py: remove a workaround for Python 2
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user