과도한 로그 방지

This commit is contained in:
joyfuI
2022-05-05 21:59:24 +09:00
parent 28dcded7ce
commit 8cd3c769b0

View File

@@ -228,7 +228,7 @@ class MyYoutubeDL(object):
class MyLogger(object): class MyLogger(object):
def debug(self, msg): def debug(self, msg):
if msg.find("\x1B") != -1 or msg.find("{") != -1: if msg.find(" ETA ") != -1:
# 과도한 로그 방지 # 과도한 로그 방지
return return
logger.debug(msg) logger.debug(msg)