better config integration

This commit is contained in:
2019-12-02 10:29:40 +01:00
parent 847fbfc1e1
commit 8a551f85b2
23 changed files with 1064 additions and 754 deletions

View File

@ -1,6 +1,12 @@
from aiohttp.web import run_app
from asyncio import get_event_loop
from risotto import get_app
if __name__ == '__main__':
run_app(get_app())
loop = get_event_loop()
loop.run_until_complete(get_app(loop))
try:
loop.run_forever()
except KeyboardInterrupt:
pass