aboutsummaryrefslogtreecommitdiff
path: root/src_py/hatter/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'src_py/hatter/main.py')
-rw-r--r--src_py/hatter/main.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src_py/hatter/main.py b/src_py/hatter/main.py
index 87bc32c..71245a2 100644
--- a/src_py/hatter/main.py
+++ b/src_py/hatter/main.py
@@ -37,7 +37,8 @@ async def async_main(conf, web_path):
backend = None
web_server = None
try:
- backend = Backend(pathlib.Path(conf.get('db_path', 'hatter.db')))
+ backend = Backend(pathlib.Path(conf.get('db_path', 'hatter.db')),
+ conf['repositories'])
web_server = await create_web_server(
backend, conf.get('host', '0.0.0.0'), conf.get('port', 24000),
conf.get('webhook_path', '/webhook'), web_path)