set correct StreamHandler init params
class TqdmLoggingHandler(logging.StreamHandler):
- def __init__(self, level=logging.NOTSET):
- super().__init__(level)
+ def __init__(self, stream=None):
+ super().__init__(stream)
def emit(self, record):
try:
