diff --git a/data/scripts/migrator/dbsmerge_mongo.py b/data/scripts/migrator/dbsmerge_mongo.py index 758b3a4e7..7d983a0c1 100755 --- a/data/scripts/migrator/dbsmerge_mongo.py +++ b/data/scripts/migrator/dbsmerge_mongo.py @@ -41,7 +41,7 @@ if from_host == to_host and from_port == to_port: print('Migrating on same server...') mongo_from_url = 'mongodb://' + from_user + ':' + quote_plus(from_pass) + '@' + from_host + ':' + from_port + '/' + from_auth_db if from_pass == '': # disabled auth - mongo_from_url = 'mongodb://' + from_host + ':' + from_port + '/' + from_db + mongo_from_url = 'mongodb://' + from_host + ':' + from_port + '/' + from_db client = MongoClient(mongo_from_url) db = client[from_db]