diff --git a/oyster/mongolog.py b/oyster/mongolog.py index f99cbb4..594f1a3 100644 --- a/oyster/mongolog.py +++ b/oyster/mongolog.py @@ -45,7 +45,7 @@ class MongoHandler(logging.Handler): pass self.collection = db[collection] self.async = async - super(MongoHandler, self).__init__(level) + MongoHandler.__init__(self, level) self.formatter = MongoFormatter() def emit(self, record):