mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-25 05:40:15 +08:00
Compare commits
2 Commits
44900b24ae
...
9c8c76ea38
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9c8c76ea38 | ||
|
|
600e44e84f |
@ -32,7 +32,10 @@ class LogInterceptor(io.TextIOWrapper):
|
||||
super().write(data)
|
||||
|
||||
def flush(self):
|
||||
super().flush()
|
||||
try:
|
||||
super().flush()
|
||||
except (OSError, ValueError):
|
||||
pass
|
||||
for cb in self._flush_callbacks:
|
||||
cb(self._logs_since_flush)
|
||||
self._logs_since_flush = []
|
||||
|
||||
Loading…
Reference in New Issue
Block a user