Explorar el Código

fix: missing argument in shouldFlush

Mikael Koli hace 4 años
padre
commit
65455334aa
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      redmail/log.py

+ 1 - 1
redmail/log.py

@@ -239,7 +239,7 @@ class MultiEmailHandler(_EmailHandlerMixin, BufferingHandler):
             # Only manual flushing
             return False
         else:
-            return super().shouldFlush()
+            return super().shouldFlush(record)
 
     def get_subject(self, records:List[LogRecord]):
         "Get subject of the email"