diff --git a/bin/linspector b/bin/linspector index 3b5e866..ead64b0 100755 --- a/bin/linspector +++ b/bin/linspector @@ -109,6 +109,9 @@ def main(): scheduler = Scheduler() + ''' + The next lines should go over to a thread class into background (thread queue) + ''' scheduler.start() jobs = [] @@ -127,6 +130,10 @@ def main(): job.set_logger(log) jobs.append(job) + ''' + the next stuff could stay here but needs access to the "jobs" list from above + ''' + interface = LinspectorInterface(jobs, scheduler, linConf) if "jsonrpc_backend" in core and core["jsonrpc_backend"]: