mirror of
https://git.datalinker.icu/ltdrdata/ComfyUI-Manager
synced 2026-01-23 18:44:23 +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…
x
Reference in New Issue
Block a user