do not remove order from dry_run order list

This commit is contained in:
gcarq 2017-11-05 16:13:20 +01:00
parent b82c4444b2
commit 0a5eba64e2

View File

@ -135,7 +135,7 @@ def cancel_order(order_id: str) -> None:
def get_order(order_id: str) -> Dict:
if _CONF['dry_run']:
order = _DRY_RUN_OPEN_ORDERS.pop(order_id)
order = _DRY_RUN_OPEN_ORDERS[order_id]
order.update({
'id': order_id
})