mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-06-30 23:39:05 +00:00
Always send to stdout
This commit is contained in:
parent
2c7ddb6234
commit
f1f1af9c67
@ -79,9 +79,6 @@ class WebsocketsLoggingHandler(logging.Handler):
|
|||||||
def emit(self, record):
|
def emit(self, record):
|
||||||
try:
|
try:
|
||||||
msg = self.format(record)
|
msg = self.format(record)
|
||||||
if record.levelno >= logging.ERROR:
|
|
||||||
self._logger.error(msg)
|
|
||||||
else:
|
|
||||||
self._logger.stdout(msg)
|
self._logger.stdout(msg)
|
||||||
|
|
||||||
except Exception:
|
except Exception:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user