Преглед на файлове

fix: missing argument in shouldFlush

Mikael Koli преди 4 години
родител
ревизия
65455334aa
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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"