added core to jsonbackend and removed unneeded import
This commit is contained in:
parent
8be754aa31
commit
6c41c963a8
1 changed files with 1 additions and 2 deletions
|
|
@ -28,7 +28,6 @@ import logging
|
|||
import logging.handlers
|
||||
import os
|
||||
import os.path as path
|
||||
import threading
|
||||
|
||||
from linspector.core.interface import LinspectorInterface
|
||||
from linspector.config.parser import FullConfigParser
|
||||
|
|
@ -128,7 +127,7 @@ def main():
|
|||
interface = LinspectorInterface(jobs, scheduler, linConf)
|
||||
|
||||
if core["jsonrpc_backend"]:
|
||||
jsonrpc = JsonrpcBackend(interface)
|
||||
jsonrpc = JsonrpcBackend(interface, core)
|
||||
jsonrpc.daemon = True
|
||||
jsonrpc.start()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue