From 72072b5737a58d01c2b39787950a3d10ce189dae Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Fri, 8 Jul 2022 23:16:29 -0400 Subject: [PATCH] Support `0` value `reqid`s :facepalm: --- piker/clearing/_ems.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/piker/clearing/_ems.py b/piker/clearing/_ems.py index 9b8e0934..a55d55a4 100644 --- a/piker/clearing/_ems.py +++ b/piker/clearing/_ems.py @@ -848,7 +848,7 @@ async def process_client_order_cmds( # NOTE: cancel response will be relayed back in messages # from corresponding broker - if reqid: + if reqid is not None: # send cancel to brokerd immediately! log.info(