Skip to content

Commit

Permalink
added comment
Browse files Browse the repository at this point in the history
  • Loading branch information
SilenZcience committed Jan 15, 2024
1 parent 0b17e46 commit ea6eef9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cat_win/util/editor.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit ea6eef9

Please sign in to comment.