Called parent __init__ in test logging handler
This commit is contained in:
parent
fc69fff9ab
commit
515fd6a5de
|
@ -3,5 +3,6 @@ import logging
|
||||||
from django.conf import settings
|
from django.conf import settings
|
||||||
|
|
||||||
class MyHandler(logging.Handler):
|
class MyHandler(logging.Handler):
|
||||||
def __init__(self, *args, **kwargs):
|
def __init__(self):
|
||||||
|
logging.Handler.__init__(self)
|
||||||
self.config = settings.LOGGING
|
self.config = settings.LOGGING
|
||||||
|
|
Loading…
Reference in New Issue