mirror of
https://github.com/Comfy-Org/ComfyUI-Manager.git
synced 2025-12-16 01:57:04 +08:00
Add missing isatty(...) function (#790)
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
0e4f1713a4
@ -214,6 +214,9 @@ try:
|
||||
# Handle error
|
||||
raise ValueError("The object does not have a fileno method")
|
||||
|
||||
def isatty(self):
|
||||
return False
|
||||
|
||||
def write(self, message):
|
||||
global is_start_mode
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user