mirror of
https://github.com/planetmint/planetmint.git
synced 2025-11-25 06:55:45 +00:00
fixed a remaining planetmint config reference
Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>
This commit is contained in:
parent
85f6992b5b
commit
4b237eec74
@ -26,7 +26,7 @@ from concurrent.futures import CancelledError
|
|||||||
import aiohttp
|
import aiohttp
|
||||||
from aiohttp import web
|
from aiohttp import web
|
||||||
|
|
||||||
from planetmint import config
|
from planetmint.config import Config
|
||||||
from planetmint.events import EventTypes
|
from planetmint.events import EventTypes
|
||||||
|
|
||||||
|
|
||||||
@ -180,5 +180,5 @@ def start(sync_event_source, loop=None):
|
|||||||
|
|
||||||
app = init_app(event_source, loop=loop)
|
app = init_app(event_source, loop=loop)
|
||||||
aiohttp.web.run_app(app,
|
aiohttp.web.run_app(app,
|
||||||
host=config['wsserver']['host'],
|
host=Config().get()['wsserver']['host'],
|
||||||
port=config['wsserver']['port'])
|
port=Config().get()['wsserver']['port'])
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user