summaryrefslogtreecommitdiff
path: root/scripts/migration
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/migration')
-rwxr-xr-xscripts/migration/0.9.0/migrate.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/migration/0.9.0/migrate.py b/scripts/migration/0.9.0/migrate.py
index 9a29d8b5..7b2ec005 100755
--- a/scripts/migration/0.9.0/migrate.py
+++ b/scripts/migration/0.9.0/migrate.py
@@ -27,14 +27,14 @@ import os
from argparse import ArgumentParser
-from leap.soledad.server.config import load_configuration
+from leap.soledad.server import get_config
from migrate_couch_schema import migrate
TARGET_VERSION = '0.8.2'
DEFAULT_COUCH_URL = 'http://127.0.0.1:5984'
-CONF = load_configuration('/etc/soledad/soledad-server.conf')
+CONF = get_config()
NETRC_PATH = CONF['soledad-server']['admin_netrc']