From ea6eef980cc479790bb7ad6e70281d6b7a41ecb6 Mon Sep 17 00:00:00 2001 From: Silas Kraume Date: Tue, 16 Jan 2024 00:29:35 +0100 Subject: [PATCH] added comment --- cat_win/util/editor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cat_win/util/editor.py b/cat_win/util/editor.py index 071a8b52..f55cb767 100644 --- a/cat_win/util/editor.py +++ b/cat_win/util/editor.py @@ -634,7 +634,7 @@ def open(cls, file: str, file_encoding: str, write_func, on_windows_os: bool, print(file=sys.stderr) Editor.loading_failed = True return False - # if not (sys.stdin.isatty() | sys.stdout.isatty()): + # if not (sys.stdin.isatty() | sys.stdout.isatty()): # use os.isatty instead # print("The Editor could not be loaded.", file=sys.stderr) # return False