diff --git a/crawlab/db/manager.py b/crawlab/db/manager.py index c7eb16e1..ac157dfb 100644 --- a/crawlab/db/manager.py +++ b/crawlab/db/manager.py @@ -1,11 +1,8 @@ from bson import ObjectId -from mongoengine import connect from pymongo import MongoClient, DESCENDING from config import MONGO_HOST, MONGO_PORT, MONGO_DB, MONGO_USERNAME, MONGO_PASSWORD, MONGO_AUTH_DB from utils import is_object_id -connect(db=MONGO_DB, host=MONGO_HOST, port=MONGO_PORT) - class DbManager(object): __doc__ = """