aboutsummaryrefslogtreecommitdiffstats
path: root/sync.py
diff options
context:
space:
mode:
authorAsbjørn Sloth Tønnesen <ast@fiberby.net>2021-05-25 18:23:14 +0000
committerAsbjørn Sloth Tønnesen <ast@fiberby.net>2021-05-25 18:36:50 +0000
commit966b99a1a0eb13d2aa88d656116fc3d9e9acd874 (patch)
tree00cfa9c9dc1e0556cc3faae970e47f66de86c874 /sync.py
parent0ef91e74908fb8d9dfc813c276c9c2559708f3f9 (diff)
downloadpeeringdb-simplesync-966b99a1a0eb13d2aa88d656116fc3d9e9acd874.tar.gz
peeringdb-simplesync-966b99a1a0eb13d2aa88d656116fc3d9e9acd874.tar.xz
peeringdb-simplesync-966b99a1a0eb13d2aa88d656116fc3d9e9acd874.zip
document config keys
Signed-off-by: Asbjørn Sloth Tønnesen <ast@fiberby.net>
Diffstat (limited to 'sync.py')
-rwxr-xr-xsync.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sync.py b/sync.py
index cbc41ff..bd26211 100755
--- a/sync.py
+++ b/sync.py
@@ -17,7 +17,8 @@ from urllib.parse import urljoin
import logging
from config import get_config
-schema_name = get_config()['db_schema']
+
+schema_name = get_config().get('db_schemad', 'peeringdb')
#logging.basicConfig(level=logging.DEBUG)