Explorar o código

fix: missing argument in shouldFlush

Mikael Koli %!s(int64=4) %!d(string=hai) anos
pai
achega
65455334aa
Modificáronse 1 ficheiros con 1 adicións e 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"