From 2846b044d20e26d32068ac4f2781dce2657b62d5 Mon Sep 17 00:00:00 2001 From: James Turk Date: Wed, 16 May 2012 00:19:30 -0400 Subject: [PATCH] oops, that was wrong --- oyster/mongolog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oyster/mongolog.py b/oyster/mongolog.py index 594f1a3..c7e0fed 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 - MongoHandler.__init__(self, level) + logging.Handler.__init__(self, level) self.formatter = MongoFormatter() def emit(self, record):