StdTimeFilter适配isatty

This commit is contained in:
刘雪峰
2025-08-13 17:35:48 +08:00
parent dec2281b6f
commit 61daff795c
+3
View File
@@ -41,6 +41,9 @@ class StdTimeFilter:
else:
old_stderr.flush()
def isatty(self):
return sys.__stdout__.isatty()
def socket_wrap(func):
def wrap_func(event, data, sid=None):