python 2.6 fix
This commit is contained in:
parent
2f729bfdbc
commit
901283ecfa
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue