diff --git a/piker/clearing/_client.py b/piker/clearing/_client.py index 4537a03b..08b0f4c8 100644 --- a/piker/clearing/_client.py +++ b/piker/clearing/_client.py @@ -235,10 +235,8 @@ async def open_ems( not getattr(mod, 'trades_dialogue', None) or mode == 'paper' ): - mode = 'paper' - + mode = 'paper' from ._ems import _emsd_main - async with ( # connect to emsd portal.open_context( diff --git a/piker/clearing/_ems.py b/piker/clearing/_ems.py index 9895b533..1f3c52cb 100644 --- a/piker/clearing/_ems.py +++ b/piker/clearing/_ems.py @@ -1451,8 +1451,7 @@ async def _emsd_main( ) as (relay, feed, client_ready): brokerd_stream = relay.brokerd_stream - dark_book = _router.get_dark_book(broker) - + dark_book = _router.get_dark_book(broker) # signal to client that we're started and deliver # all known pps and accounts for this ``brokerd``. await ems_ctx.started((