From 2e5cdbcb7c0df46af4fbda078628677ff18ee91b Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Wed, 30 May 2018 09:37:53 -0400 Subject: [PATCH] Adjust to new modules --- piker/cli.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/piker/cli.py b/piker/cli.py index 7fa8edf5..32e567bf 100644 --- a/piker/cli.py +++ b/piker/cli.py @@ -12,7 +12,8 @@ import trio from . import watchlists as wl from .brokers import core, get_brokermod -from .brokers.core import _daemon_main, Client +from .brokers.core import _brokerd_main +from .ipc import Client from .log import get_console_log, colorize_json, get_logger log = get_logger('cli') @@ -33,7 +34,7 @@ def run(main, loglevel='info'): def pikerd(loglevel, host): """Spawn the piker daemon. """ - run(partial(_daemon_main, host), loglevel) + run(partial(_brokerd_main, host), loglevel) @click.group() @@ -167,7 +168,7 @@ def watch(loglevel, broker, rate, name, dhost): log.warning("Spawning local broker-daemon...") child = Process( target=run, - args=(partial(_daemon_main, dhost), loglevel), + args=(partial(_brokerd_main, dhost), loglevel), daemon=True, name='pikerd', )