diff options
| author | bozo.kopic <bozo.kopic@gmail.com> | 2017-08-24 17:51:14 +0200 |
|---|---|---|
| committer | bozo.kopic <bozo.kopic@gmail.com> | 2017-08-24 17:51:14 +0200 |
| commit | c594b1fca854a7b9fb73d854a9830143cd1032fc (patch) | |
| tree | 8c8b63cb4899238cf0f73a3f7bd08d9b70b16e81 /src_py/hatter/main.py | |
| parent | d736cd1392a56ad5103867c72761cfcb4ccd4f1b (diff) | |
frontend
Diffstat (limited to 'src_py/hatter/main.py')
| -rw-r--r-- | src_py/hatter/main.py | 3 |
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)
|
