mirror of
https://git.datalinker.icu/ltdrdata/ComfyUI-Manager
synced 2026-07-27 01:57:09 +08:00
Add missing isatty(...) function
Depending on the use of ComfyUI this missing function can be called in certain code paths, such as used in yachalk
This commit is contained in:
parent
e4ba360f34
commit
ff31b76ee0
@ -214,6 +214,9 @@ try:
|
|||||||
# Handle error
|
# Handle error
|
||||||
raise ValueError("The object does not have a fileno method")
|
raise ValueError("The object does not have a fileno method")
|
||||||
|
|
||||||
|
def isatty(self):
|
||||||
|
return False
|
||||||
|
|
||||||
def write(self, message):
|
def write(self, message):
|
||||||
global is_start_mode
|
global is_start_mode
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user